1. RE: win32lib & treeview

-----Original Message-----
From: tone.skoda at siol.net [mailto:tone.skoda at siol.net]

>I this win32lib treeview bug?:

>In attached program look at code between
>--Start Tone Skoda
>and
>--End Tone Skoda
>I deleted and recreated treeview at the same time
>
>When i run attached program it shows this error message box:>
>
>Error code 499
>getHandle:The stored hWnd for id 5 is not attached to id 0.>
>
>Win32Lib v0.56.1

v56 is pretty unfamiliar to me, but a brief look suggests that the problem
is somewhere in destroy.  The only place that error message seems to come
from is getHandle.  I suspect that win32lib is trying to do something with
the control after it's actually been destroyed, which is why it can't find
the handle.  My advice is to trace back to see where it's happening, and
rework destroyControls().

Matt Lewis

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu