Re: Win32lib: w32HClose event not firing on window close
- Posted by Derek Parnell <ddparnell at bigpond.com> May 18, 2004
- 478 views
Michael Raley wrote: > > > It looks like the update hasn't hit the page yet. > > It's an w32HClose event. > There was also an event for a cancel button > which would call CloseWindow() in another routine > and that stopped triggering the signal also, so > I redirected the button to the close routine. > > this is for a second window with all controls and events > defined in an include file. > > A main application would be written in an exw file. > after the Main window handle was created it would be > passed in an initialization procedure as the parent > for the secondary window to be created. > > all the buttons and popup menu in the second window > function correctly. You have this line in your code, but there is no routine called "onClose_REDITWin" in your code. setHandler({RECIPEDWin,RECIPED}, {w32HClose}, routine_id("onClose_REDITWin")) -- Derek Parnell Melbourne, Australia