Article View: comp.windows.ms.programmer
Article #552Re: Creating window w/specific client size
From: John C.
Date: Fri, 09 Nov 1990 18:44
Date: Fri, 09 Nov 1990 18:44
15 lines
894 bytes
894 bytes
You can easily determine the window-rect size for a given client size. Use AdjustWindowRect: void AdjustWindowRect( lpRect, lStyle, bMenu ) The lStyle specifies the non-client stuff the window will have; the function presumably looks at this and gets the system metrics to do the adjustment. The bMenu tells it whether to also adjust for a menu. -- John Ciccarelli Plexus Software, 5200 Great America Pkwy, Suite 200, Santa Clara CA 95054 email: ...sun!plx!johnc, voice: 408-982-4842, fax: 408-727-4864
Technical Details
Message-ID:
<2509@plx.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!plx!johncShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!plx!johnc From: johnc@plx.UUCP (John C.) Newsgroups: comp.windows.ms.programmer Subject: Re: Creating window w/specific client size Keywords: AdjustWindowRect Message-ID: <2509@plx.UUCP> Date: 9 Nov 90 18:44:25 GMT Organization: Plexus Computers, San Jose, CA. Lines: 15