🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #198

Re: Constraining window size during WinCreateStdWindow

#198
From: Michael Harris
Date: Sat, 01 Aug 1992 15:29
10 lines
1052 bytes
Creating the window invisible and using WinSetWindowPos is the correct way
to do what you want.

You may need to isolate your window sizing code into a function and call it
both upon sizing and just after creation.

______________________________________________________________________________
     Michael Harris - harris@catt.ncsu.edu or harris@carvm3.vnet.ibm.com
 System Administrator, Computer & Technologies Theme Program, NC State Univ.
(My opinions are my own and do not represent those of NCSU or IBM Corporation)
Technical Details
Message-ID: <harris.712682942@garfield.catt.ncsu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!olivea!hal.com!decwrl!concert!rock!taco!garfield.catt.ncsu.edu!harris
References: <Bs9r4C.MJo@well.sf.ca.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!olivea!hal.com!decwrl!concert!rock!taco!garfield.catt.ncsu.edu!harris
From: harris@garfield.catt.ncsu.edu (Michael Harris)
Newsgroups: comp.os.os2.programmer
Subject: Re: Constraining window size during WinCreateStdWindow
Keywords: AVIO
Message-ID: <harris.712682942@garfield.catt.ncsu.edu>
Date: 1 Aug 92 15:29:02 GMT
References: <Bs9r4C.MJo@well.sf.ca.us>
Sender: news@ncsu.edu (USENET News System)
Distribution: comp
Organization: North Carolina State University
Lines: 10