🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
1 messages
1 total messages Started by John C. Fri, 09 Nov 1990 18:44
Re: Creating window w/specific client size
#552
Author: John C.
Date: Fri, 09 Nov 1990 18:44
15 lines
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
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