RE: [Win32] Fullscreen
- Posted by Brian Broker <bkb at cnw.com> Sep 25, 2002
- 389 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 > >