Re: Greg's Win32Lib Full Screen

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

I hate rushing through things! Now that I think about it, I could also
disable the system menu (Alt+Space) by removing the WS_SYSMENU flag. Either
way is effective. However, if I disable the system menu, it makes the window
more full screen-like, since the user can't get out of it. I already sent my
update, but I think I'll change it and send it again. I'm also making it a
separate include file (fullscreen.ew) and I'm saving the state with
setUserProperty() and including a function call isFullScreen() to return the
saved state.

~Greg

----- Original Message -----
From: "Greg Haberek" <g.haberek at comcast.net>
To: <EUforum at topica.com>
Sent: Thursday, October 30, 2003 12:49 PM
Subject: Re: Greg's Win32Lib Full Screen


>
>
> > Greg,
> >
> > Run your demo program.
> > Press <ALT+Space>
> > Select "Restore"
> >
> > You might want to prevent that series of keystrokes.
>
> All you need to do is handle the SIZE_RESTORED event of onResize. I'll add
> this and update the demo in the archives.
>
> procedure Main_onResize( integer self, integer event, sequence params )
> -- catch the 'restore' event
>
>     if params[1] = SIZE_RESTORED then
>         setCheck( FullScreen, False )
>         setFullScreen( Main, False )
>     end if
>
> end procedure
> setHandler( Main, w32HResize, routine_id("Main_onResize") )
>
>
> ~Greg
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu