Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Michael Bailey
|
Aug 16, 2006 - 2:43 PM
|
Hi,
I’m using a CExtDynamicControlBar that contains a CExtResizableDialog.
How can I set a minimum size to the dialog so the user can only drag it to a min size - say 200,200?
Thank you for any help.
Regards, Mike
|
|
Technical Support
|
Aug 17, 2006 - 8:27 AM
|
You can do this by using a CExtDynamicControlBar -derived class in which the following virtual methods are implemented: virtual INT _CalcDesiredMinHW() const; //minimum desired width when it is docked horizontally (with other bars)
virtual INT _CalcDesiredMinVH() const; //minimum desired height when it is docked vertically (with other bars)
virtual CSize _CalcDesiredMinFloatedSize() const; //minimum desired size when it is floating
|
|
Michael Bailey
|
Aug 17, 2006 - 10:52 AM
|
|
|