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 » Is there a way to find out which toolbars are stored in the workbook and which are not Collapse All
Subject Author Date
Peter Nalyvayko Jun 13, 2008 - 2:56 PM

There is a dilemma: I need to build a list of toolbars which states have been deserialized, so as to be able to distinguish between toolbars which are stored in the workbook from those which are not. Is there a mechanism to get this information?

Technical Support Jun 16, 2008 - 6:30 AM

In Prof-UIS, the state of all the control bars created in the frame window is always saved/restored. If you are using simple non-customizable toolbars and/or simple control bars (CExtControlBar), the total number of control bars should be persistent. If you are using customizable toolbars, the number can vary but the customize site (CExtCustomizeSite) re-creates all the dynamically allocated toolbars before their state is loaded. If you are using dynamic resizable control bars then the number of these bars can also be variable but the dynamic bar site (CExtDynamicBarSite) re-creates all the dynamically allocated resizable bars before their state is loaded. So, you should never bother about which bar states are serialized and which not.