Article View: borland.public.cppbuilder.nativeapi
Article #6074Re: API specific for TControl
From: Remy Lebeau (TeamB)
Date: Tue, 14 Jun 2005 06:59
Date: Tue, 14 Jun 2005 06:59
21 lines
1624 bytes
1624 bytes
"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:
<42ae81ee$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42a95191$1@newsgroups.borland.com> <42a9ae0a$1@newsgroups.borland.com> <42ae1eda$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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42a95191$1@newsgroups.borland.com> <42a9ae0a$1@newsgroups.borland.com> <42ae1eda$1@newsgroups.borland.com> Subject: Re: API specific for TControl Date: Mon, 13 Jun 2005 23:59:49 -0700 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42ae81ee$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118732782 68.69.17.41 (14 Jun 2005 00:06:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail