Win32Lib Combo / Tabs
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Oct 02, 2000
- 337 views
I've been working with Euman on his problems with getting tab stops into combo boxes. I first traced the problem to database.e. Now I've determined that any time some memory is allocated and not freed before the combo's are created, the ChildWindowFromPointEx call fails. It also fails whenever the trace window comes up before the combos are created. As a work around, it seems fairly simple, in this case, to move the include back (it doesn't matter where in the code the memory is allocated, just as long as you don't free it), but if someone happens to be dynamically creating controls, this will be a problem. Rob (or anyone else), can you tell why this might happen? I have no idea why this happens or how to fix it. Matt Lewis