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 |
|
Chris G.
|
Aug 17, 2009 - 7:28 AM
|
Hello Prof-UIS, is there a way to limit the minimum width and height of a CExtControlBar instance? I would like to prevent the user resizing some of my control bars to dimensions smaller than their content. Regards,
Chris
|
|
Chris G.
|
Aug 17, 2009 - 4:59 PM
|
Thank you, that was exactly what i needed. Regards,
Chris
|
|
Technical Support
|
Aug 17, 2009 - 11:48 AM
|
The minimal width is computed by the CExtControlBar::_CalcDesiredMinHW() virtual method, minimal height is computed by the CExtControlBar::_CalcDesiredMinVH() virtual method:
virtual INT _CalcDesiredMinHW() const;
virtual INT _CalcDesiredMinVH() const;
|
|