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 » CExtPanelControlBar resizeable problem Collapse All
Subject Author Date
LAURA GUGLIELMETTI Dec 14, 2010 - 4:36 AM

Dear support,


I have the following problem: I need to create a CExtPanelControlBar in order to dock it near other bars, that can be resided by user when it is floating.


So I set IsFixedMode to false.


But when I drag the window, I have an assert in function FixedBar_IsPaintRowBkMode due to the value if IsFixedMode.


Can you please tell me how to create a control bar that is ’Fixed’ when docked (so it acts like CExtPanelControlBar) but can be resized when floating?


Thanks


Laura

Technical Support Dec 15, 2010 - 12:48 PM

The panel bar and the resizable bar are very different. The panel bar is based on a fixed size when you want to make it resizable. This means you should override all the virtual methods of the CExtPanelControlBar and invoke parent methods of the CExtControlBar class in floating state (IsFloating()), and CExtPanelControlBar class methods in docked state.