1. RE: [Win32] Fullscreen
- Posted by Brian Broker <bkb at cnw.com> Sep 25, 2002
- 390 views
I know there's a Win32Lib demo out there that simulates fullscreen by hiding the task bar and maximizing the window... Otherwise you might want to look into using a DirectX type of library (Exotica, euSDL, euAllegro, etc...) to access true fullscreen modes. If you are using Win32Lib, here are some routines for hiding/showing the mouse cursor: ------------------------------ -- hides mouse cursor when it is over your window ------------------------------ global procedure hideMouse() integer t -- hide mouse cursor if w32Func( xShowCursor, { 0 } ) < -1 then -- cursor already hidden so increment counter to original state t = w32Func( xShowCursor, { -1 } ) end if end procedure ------------------------------ -- shows hidden mouse cursor ------------------------------ global procedure showMouse() integer t -- show mouse cursor if w32Func( xShowCursor, { -1 } ) > 0 then -- cursor already shown so decrement counter to original state t = w32Func( xShowCursor, { 0 } ) end if end procedure ------------------------------ -- Brian mistertrik wrote: > 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) > ===================================================== > .______<-------------------\__ > / _____<--------------------__|=== > ||_ <-------------------/ > \__| Mr Trick > >
2. RE: [Win32] Fullscreen
- Posted by Ron Tarrant <rtarrant at sympatico.ca> Sep 25, 2002
- 382 views
The simple solution is in the call to WinMain(): WinMain(myWindow, Maximized) -Ron T. mistertrik at hotmail.com wrote: > 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) > ===================================================== > .______<-------------------\__ > / _____<--------------------__|=== > ||_ <-------------------/ > \__| Mr Trick > >
3. RE: [Win32] Fullscreen
- Posted by mistertrik at hotmail.com Sep 25, 2002
- 385 views
Ok, and set the attributes of the window so it has no header, no border, no buttons etc... How do I hide the taskbar? ===================================================== .______<-------------------\__ / _____<--------------------__|=== ||_ <-------------------/ \__| Mr Trick >From: Ron Tarrant <rtarrant at sympatico.ca> >Subject: RE: [Win32] Fullscreen > > >The simple solution is in the call to WinMain(): > >WinMain(myWindow, Maximized) > >-Ron T. > >mistertrik at hotmail.com wrote: > > 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) > > ===================================================== > > .______<-------------------\__ > > / _____<--------------------__|=== > > ||_ <-------------------/ > > \__| Mr Trick > > > > > > >