Re: Win32Lib bug in registerControl()

new topic     » goto parent     » topic index » view thread      » older message » newer message
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] 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu