Re: [Win32] Fullscreen

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

--0-16438846-1032926759=:48080


I dont know the full story on how this is done as I have never had to do this
before.  However, after about 20 minutes of looking into some different places, I
found some tidbits.
Looks like the main call revolves around the API function SetWindowPlacement
from User32.dll with some auxillary calls to GetSystemMetrics.  At least this
will get you started.  Looks a bit involved though.  If your interested in a full
source example (MFC), take a peek at
[http://www.nwlink.com/~mikeblas/samples/index.htm] under the download
[Fully.zip].  The main beef of the code falls under the file [mainfrm.cpp]
function [CMainFrame::OnViewFullScreen].
As for the disappearing mouse trick, have you tried creating a new mouse pointer
with no bits turned on?  Seems to me that would be the same as invisible. 
Win32Lib has routines and examples of custom cursors last I checked in the docs.
Good luck =)
Don Phillips

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






<P>I dont know the full story on how this is done as I have never had to do this
before.&nbsp; However, after about 20 minutes of looking into some different
places, I found some tidbits.
<P>Looks like the main call revolves around the API function SetWindowPlacement
from User32.dll with some auxillary calls to GetSystemMetrics.&nbsp; At least
this will get you started.&nbsp; Looks a bit involved though.&nbsp; If your
interested in a full source example (MFC), take a peek at
[http://www.nwlink.com/~mikeblas/samples/index.htm] under the download
[Fully.zip].&nbsp; The main beef of the code falls under the file [mainfrm.cpp]
function [CMainFrame::OnViewFullScreen].
<P>As for the disappearing mouse trick, have you tried creating a new mouse
pointer with no bits turned on?&nbsp; Seems to me that would be the same as
invisible.&nbsp; Win32Lib has routines and examples of custom cursors last I
checked in the docs.
<P>Good luck =)
<P>Don Phillips
<P>&nbsp;<B><I>mistertrik at hotmail.com</I></B> wrote:
New <a href="http://rd.yahoo.com/evt=1207/*http://sbc.yahoo.com/">DSL Internet
Access</a> from SBC & Yahoo!</a>
--0-16438846-1032926759=:48080--

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

Search



Quick Links

User menu

Not signed in.

Misc Menu