Re: [Win32] Fullscreen
- Posted by g.haberek at comcast.net Sep 26, 2002
- 537 views
do you want to hide the taskbar also? ----- Original Message ----- From: Thomas Parslow (PatRat) <tom at almostobsolete.net> Subject: Re: [Win32] Fullscreen > > > I'm working on a database driven alternative to MS Powerpoint, and already I > > am stuck: > > > What code would be needed to make a window the *full* size of the screen, > > and the mouse invisible? No doubt I will have more questions as time goes by > > but for now that will do. > > > (and sorry if this gets posted twice, I've had problems with my mail > > account) > > Hi, > > If you create a window with the WS_POPUP flag like this: > > winFullscreen = create( Window, "", 0, 0, 0, 1, 1, {WS_POPUP}) > > Then open it maximized like this: > > openWindow(winFullscreen,Maximize) > > Then it will fill the entire screen (including the taskbar of course) > and will have no caption bar or borders. > > As for hiding the mouse I'm not entirely sure, maybe just set the > cursor of the window to a fully transparent cursor (must be a more > elegant way, but that would work). > > Thomas Parslow (PatRat) > E-Mail/Jabber: tom at almostobsolete.net > ICQ: 26359483 > > > >