🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
6 messages
6 total messages Started by Brian Goble Tue, 11 Aug 1992 23:37
Setting Client Area to entire screen
#7
Author: Brian Goble
Date: Tue, 11 Aug 1992 23:37
15 lines
1085 bytes
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).

Thanx for any info!

-Brian


-- 
 ==)------------
               Brian Goble    |    goble@hardy.u.washington.edu
               "Finishing a close second means you didn't win."
                                                              ------------(==
Re: Setting Client Area to entire screen
#479
Author: Wayne Geiser
Date: Fri, 14 Aug 1992 16:38
33 lines
1779 bytes
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).
>
>Thanx for any info!
>
>-Brian
>
>
>-- 
> ==)------------
>               Brian Goble    |    goble@hardy.u.washington.edu
>               "Finishing a close second means you didn't win."
>                                                              ------------(==

Try:

        hwnd = CreateWindow(YourWindowClassHere, WS_POPUP, 0, 0, 0, 0,
                            NULL, NULL, hInstance, NULL);
        ShowWindow(hwnd, SW_SHOWMAXIMIZED);


**********************************************************************
* Wayne Geiser ("Drivel King")           Voice:    (508) 977-8253    *
* PictureTel Corporation                 FAX:      (508) 532-6893    *
* One Corporation Way                    Internet: geiser@pictel.com *
* Peabody, MA      01960                 CIS:      70313,3615        *
**********************************************************************
"The pope!  How many divisions has he got?"

        - Josef Stalin (in 1935).
Re: Setting Client Area to entire screen
#495
Author: Mark Epperson
Date: Fri, 28 Aug 1992 07:45
11 lines
1028 bytes
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
Re: Setting Client Area to entire screen
#502
Author: che358w
Date: Fri, 04 Sep 1992 01:09
22 lines
1703 bytes
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.

Samantha Lane
CHE358W@vaxc.cc.moansh.edu.au
Re: Setting Client Area to entire screen
#490
Author: Stefan Olson
Date: Sat, 05 Sep 1992 17:15
16 lines
1321 bytes
In <1992Sep7.165405.1@tnclus.tele.nokia.fi> swesterback@tnclus.tele.nokia.fi writes:

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

I have written a full screen installation program, and it just has no minimize
box, etc...

...Stefan

-- 
------------------------------------------------------------------------
   Stefan Olson                     Mail: stefan@olson.acme.gen.nz
   Kindness in giving creates love.
------------------------------------------------------------------------
Re: Setting Client Area to entire screen
#478
Author: 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!
============================================================================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads