Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » CExtToolControlBar Collapse All
Subject Author Date
s p Feb 20, 2008 - 3:20 AM

Hi! I have a question regarding CExtToolControlBar. Now I have Toolbar with 9 buttons, wich all apear in one row.
I can resize the toolbar verticaly, so that I have 3 rows, each containing 3 buttons. My question is how I can save this state, so when I close the toolbar, and start it again, it apears with the 3 rows layout. Thanks for the help , sp

Technical Support Feb 21, 2008 - 5:51 AM

You should invoke the CExtControlBar::ProfileBarStateLoad() method in the CMainFrame::OnCreate() method and the CExtControlBar::ProfileBarStateSave() method in the CMainFrame::DestroyWindow(). You can get these invocations from many of our sample applications.