Inheriting win32 Handles
- Posted by jordah at btopenworld.com Feb 06, 2003
- 392 views
Hi all, I was just writing my own EUWIN. when i came across something funny. I wanted to Inherit win32 Handles to respond to basic events just as if they were created by EUWIN. After doing that i just checked win32lib's subclasscontrol(). I noticed in win32lib, you subclass a control by also assigning it a "new parent". How about the original parent of the control? What if the original parent of the control is also a handle? This would mean getParent() would fail...and this would lead to other successive errors. Correct me if i'm wrong? Jordah ---