Re: win32lib: manipulating vWinMainState

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu