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 » CExtControlBar tabs activating Collapse All
Subject Author Date
Konstantin Matveev Oct 19, 2006 - 2:48 AM

Hi!
I use Prof-UIS 2.54 , SDI application. In this application there are several windows derived from CExtControlBar. Some of them are grouped in tabs. My question is: how to activate a necessary tab from my application code? Thanks for reply.

Suhai Gyorgy Oct 19, 2006 - 3:51 AM

You can use the following code to activate any of your control bars:

CExtControlBar::DoFrameBarCheckCmd( pMainFrame, nBarID, false);
But calling this method will also show the control bar if it’s hidden and make the control bar be in focus if it wasn’t before.

Konstantin Matveev Oct 19, 2006 - 5:01 AM

Ie, thanks! This method is very well for me!