Re: Win32Lib bug in registerControl()
- Posted by DerekParnell (admin) Mar 14, 2012
- 1264 views
ghaberek said...
To recap on what I was doing (and perhaps provide some context on fixing the issue), I'm trying to create a custom Window class. One thing I noticed almost immediately is that I'm not receiving any thing into the "Process" routine, and I believe it's because I'm passing Window back for "controlType".
Yep, this is a bug. There is a one-line change required in win32lib.ew.
Find the routine called "MessageProcessor" and look for the line ...
lTemp = ctrl_Type[id]
and change it to ...
lTemp = ctrl_ActualClass[id]