Re: getSelf( )
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Sep 15, 2000
- 396 views
----- Original Message ----- From: "Matthew Lewis" <MatthewL at KAPCOUSA.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, September 15, 2000 5:34 AM Subject: Re: getSelf( ) > > I agree with you, there is a bug, but there seems to be a much simpler > solution than what Derek proposes (especially since it doesn't address the > root of the problem :). > Hi Matt, True, I didn't seek to find the bug. Instead, I tried to find a solution to the "bigger" issue. Namely that the event handler model that David had choosen, is not the most robust one, and it has caused win32lib to be a little more complex than what is required. My "solution" does away with the internal stacks, getSelf(), returnValue(), popSelf(), pushSelf(), and all the calls to these, plus having to remember to use these in the correct places. And as a side-effect, makes supporting future sets of downgraded features, or even optional features, managable - with little or no change of existing code. Other side effects include simplified win32lib code, and faster WndProc processing. I will place your fix into 0.52b and release this today. ------ cheers Derek.