1. RE: [Win32] Fullscreen

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
> 
>

new topic     » topic index » view message » categorize

2. 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
> 
>

new topic     » goto parent     » topic index » view message » categorize

3. RE: [Win32] Fullscreen

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
> >
> >
>
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu