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 Tech Support » CExtControlBar::ProfileBarStateSerialize question (Part2) Collapse All
Subject Author Date
tera tera Nov 2, 2009 - 1:10 AM

Hello.


question 1,


When prof-uis version up, do the "Prof-UIS (v2.8.7.0)-control-bar-state-data" become incompatible?


 


question 2,


I add Z Bar to application newly

Then, I start application.

In application, I read existing "Prof-UIS (v2.8.7.0)-control-bar-state-data". (The information of the Z-bar is not included )


Is not there the problem in such how to use?

Technical Support Nov 9, 2009 - 1:20 PM

The state data must be completely synchronized with simple resizable bars created inside the main frame window. This is the required condition. To avoid it, we created dynamic resizable bars.


tera tera Nov 10, 2009 - 12:34 AM

Hello.


I am going to replace the variable declaration of the bar with CExtDynamicControlBar from CExtContorlBar.


Is there any problem?

Technical Support Nov 10, 2009 - 2:46 PM

Dynamic bars are always dynamically allocated pointers and controlled by dynamic bar site. You should derived your main frame class from dynamic bar site and allocate required bars. See the SDI_DynamicBars / MDI_DynamicBars sample projects for details.

Technical Support Nov 2, 2009 - 9:09 AM

The bar state data format was not changed in Prof-UIS 2.87. All the CExtControlBar windows from 2.87 have compatible state data format. But we added support for tab page order saving/restoring for dynamic resizable control bars (CExtDynamicControlBar) in the document mode in SDI applications with tab page container window as the main view window. These dynamic bars have compatible format for migrating from 2.85 to 2.87 but not vice versa.
If you need to create some bars dynamically, then you should use CExtDynamicControlBar bars which allow you to allocate/free any bars anytime. The CExtControlBar bars require exact matching between state data and bars created inside the frame window.

tera tera Nov 3, 2009 - 6:18 PM

 


In CExtControlBar-bars, I have programed all.

With CExtControlBar-ProfileBarStateSerialize, I transform the positional information of the bar.


It is difficult to change a program of it to DynBar now.    .....

tera tera Nov 4, 2009 - 7:44 PM

Please answer it.