🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting Client Area to entire screen

#479
From: 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).
Technical Details
Message-ID: <1992Aug14.163806.15543@pictel.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!decwrl!sdd.hp.com!caen!nic.umass.edu!noc.near.net!gateway!pictel!geiser
References: <1992Aug11.233710.18600@u.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!decwrl!sdd.hp.com!caen!nic.umass.edu!noc.near.net!gateway!pictel!geiser
From: geiser@pictel.com (Wayne Geiser)
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Subject: Re: Setting Client Area to entire screen
Message-ID: <1992Aug14.163806.15543@pictel.com>
Date: 14 Aug 92 16:38:06 GMT
References: <1992Aug11.233710.18600@u.washington.edu>
Organization: PictureTel Corporation
Lines: 33