🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5986

Re: API specific for TControl

#5986
From: dhantz
Date: Wed, 15 Jun 2005 00:10
27 lines
1710 bytes
thanks a lot... :)

"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"dhantz" <danacericafort@yahoo.com> wrote in message
>news:42ae1eda$1@newsgroups.borland.com...
>
>> i'm trying to use WM_GETMINMAXINFO
>
>You cannot use that for non-windowed controls.
>
>> because it states that it can overwrite the min and max
>> default minimum or maximum tracking size...i want to set
>> a limit for the tracking size of my control at runtime..
>
>That is what the TControl::Contraints property is for.  As per the
>documentation:
>
>    "Use Constraints to specify the minimum and maximum width and height of
>the control. When Constraints contains maximum or minimum values, the
>control can't be resized to violate those constraints."
>
>
>Gambit
>
>
Technical Details
Message-ID: <42af71da$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42a95191$1@newsgroups.borland.com> <42a9ae0a$1@newsgroups.borland.com> <42ae1eda$1@newsgroups.borland.com> <42ae81ee$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,31d935a054d1ffb1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "dhantz" <danacericafort@yahoo.com>
Sender: "dhantz" <danacericafort@yahoo.com>
Reply-To: "dhantz" <danacericafort@yahoo.com>
Subject: Re: API specific for TControl
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 164.71.1.173     
References: <42a95191$1@newsgroups.borland.com> <42a9ae0a$1@newsgroups.borland.com> <42ae1eda$1@newsgroups.borland.com> <42ae81ee$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <42af71da$1@newsgroups.borland.com>
Date: 14 Jun 2005 17:10:02 -0700
X-Trace: newsgroups.borland.com 1118794202 207.105.83.66 (14 Jun 2005 17:10:02 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail