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 » Prevent tabbing for an individual CExControlBar Collapse All
Subject Author Date
Chris Fudge Jun 3, 2005 - 2:03 AM

How do i prevent a single CExtControlBar from tabbing (i want it to be possible to dock it and float it etc.)

Technical Support Jun 3, 2005 - 4:24 AM

Just use your own CExtControlBar-derived class and override the following internal virtual method:

virtual bool _CanDockToTabbedContainers(
        CExtControlBar * pDestBar
        ) const;
The method should return false.