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 |
|
Stephan Finkler
|
Jul 31, 2006 - 8:48 AM
|
Hi, I’ve got an app with the customization subsystem. In the app there is dialog with a toolbar on it.
If I change set a check on "Large icons in toolbars" in customize dlg the icons in the toolbar looks bigger but the toolbar still got the same size.
How can I fit the toolbar?
Thanks for any help. Michael
|
|
Technical Support
|
Jul 31, 2006 - 10:41 AM
|
You can achieve this by invoking the CWnd::RepositionBars() method of your dialog as you do this in dialog’s OnInitDialog() and OnSize() methods. Alternatively, if you want to make your toolbar on the dialog keeping the original size of icons, you can use the CExtToolControlBar -derived class and overload the CExtToolControlBar::IsLargeIcons() virtual method.
|
|