🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do you resize a control in Borland Object Windows from Paint?

#125
From: Scott Loban
Date: Thu, 30 Jul 1992 06:21
17 lines
1464 bytes
In article <1992Jul13.033939.17316@nuscc.nus.sg> ipser@solomon.technet.sg (Ed Ipser) writes:

>control to be a function of the ATTR.H and ATTR.W of the containing window
>from within the Paint function. Of course, though, this doesn't work since
>these attributes are used only at creation time. I could delete the control
>and create a new one each time Paint is called but that seems crude as hell.

Can you send a wm_Size message to it?  It can access its parents Attr record
all by itself.

Scott R. Loban                                   loban@geog.ucsb.edu
Dept. of Geography                         6500sctt@ucsbuxa.ucsb.edu
University of California                 CompuServe Mail: 76646,3451
Santa Barbara, California                      Phone: (805) 893-4519
--------------------------------------------------------------------
"I was building a model for it, but I got glue on the windshield..."
--------------------------------------------------------------------
Technical Details
Message-ID: <5409@ucsbcsl.ucsb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!nigel.msen.com!yale.edu!jvnc.net!rutgers!network.ucsd.edu!ucsbcsl!ucsbuxa!6500sctt
References: <1992Jul13.033939.17316@nuscc.nus.sg>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!nigel.msen.com!yale.edu!jvnc.net!rutgers!network.ucsd.edu!ucsbcsl!ucsbuxa!6500sctt
From: 6500sctt@ucsbuxa.ucsb.edu (Scott Loban)
Newsgroups: comp.windows.ms.programmer
Subject: Re: How do you resize a control in Borland Object Windows from Paint?
Message-ID: <5409@ucsbcsl.ucsb.edu>
Date: 30 Jul 92 06:21:52 GMT
References: <1992Jul13.033939.17316@nuscc.nus.sg>
Sender: news@ucsbcsl.ucsb.edu
Lines: 17