🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #478

Re: Setting Client Area to entire screen

#478
From: swesterback
Date: Mon, 07 Sep 1992 14:54
36 lines
2810 bytes
In article <1992Sep4.110901.89996@vaxc.cc.monash.edu.au>, che358w@vaxc.cc.monash.edu.au writes:
> In article <1992Aug28.074510.6581@adobe.com>, epperson@adobe.com (Mark Epperson) writes:
>> In article <1992Aug11.233710.18600@u.washington.edu> goble@hardy.u.washington.edu (Brian Goble) writes:
>> %%How do Win apps such a WinGif (and many other graphics/paint programs)
>> %%implement their "Full Screen" option?  That is, what are they doing to
>> %%make their Client Area the entire screen (no windows stuff at all--it's
>> %%all client area).
>>
>> Start by moving the windows upper left corner off up and left so that
>> the client areas origin is in the upper le~t corner of the screen. Then
>> resize the window to make the client area the same size a~ the screen.
>>
>> MarkEppyrson
> 
>   I think that these apps. use a windows style that does not include border,
> caption, system menu etc  and set w=getsystemmetrics(sm_cxscreen) and similarly
> for the height and of course x=0, y=0 I don't have my references here so I
> can't tell you exactly but I think that style:=ws_popup brings up an appropriate
> sort of window or else try style:=style or(not ws_caption and ws_sysmenu). I
> don't think that's exactly right but you get the idea.
I have read in some book (Charles Petzold?) that the whole screen can be 
reserved by requesting an hDC to a logical name, SCREEN, in the same way as
the printer device context is opened. I am not sure about this...

The same full screen device is also uses by Microsofts and others installation
programs. As you may have noticed you can often switch to other programs 
while the full screen installation program is running (i.e., using alt-tab).

Sten
 
============================================================================
B.Sc. Sten Westerback         Telephone: +358+0 +5115871(work) +740049(home)
Address: Mets{purontie  9 B19, SF-00630 Helsinki, FINLAND  Time zone: EET
Test the utility at WSMR-SIMTEL20.Army.mil::pd1:<msdos.dirutl>swxd303d.zip
NB! I am working, but not speaking for Nokia Telecommunications!
============================================================================
Technical Details
Message-ID: <1992Sep7.165405.1@tnclus.tele.nokia.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!funic!nokia.fi!tnclus.tele.nokia.fi!swesterback
References: <1992Aug11.233710.18600@u.washington.edu> <1992Aug28.074510.6581@adobe.com> <1992Sep4.110901.89996@vaxc.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!funic!nokia.fi!tnclus.tele.nokia.fi!swesterback
From: swesterback@tnclus.tele.nokia.fi
Subject: Re: Setting Client Area to entire screen
Message-ID: <1992Sep7.165405.1@tnclus.tele.nokia.fi>
Lines: 36
Sender: usenet@noknic.nokia.fi (USENET at noknic)
Nntp-Posting-Host: tne02.tele.nokia.fi
Organization: Nokia Telecommunications.
References: <1992Aug11.233710.18600@u.washington.edu> <1992Aug28.074510.6581@adobe.com> <1992Sep4.110901.89996@vaxc.cc.monash.edu.au>
Date: Mon, 7 Sep 1992 14:54:05 GMT