Re: win32lib: manipulating vWinMainState
- Posted by Alexander Toresson <toressonodakra at swipnet.se> Aug 01, 2004
- 518 views
Derek Parnell wrote: > I will not be making vWinMainState global. However, I am interested > in making things better/useful so what is the problem you were trying > to solve by making this global? Maybe I can do it another way. The problem is that the include file should have and control a window, without interrupting the main program. Using the openWindow() procedure works perfect when WinMain() has been called, though the .ew's window is "immune" to events if not. The problem is that vWinMainState is set to kNotStarted. A solution would be to set vWinMainState to kStarted in openWindow(), but maybe that would interfere with the main program if it calls WinMain()? Regards, Alexander Toresson Shhh! Be vewy quiet! I'm hunting wuntime ewwows! PS. Delay caused by holiday. DS