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 » How to Flash a Tab? Collapse All
Subject Author Date
Brett Cook Jun 20, 2007 - 6:56 PM

Dear Tech Support,

I would like to flash a tab from a CExtControlBar that is inside a CExtDynTabWnd.

For example: the user docks a log window bar onto the side of the main frame window and then auto-hides it. When the log window receives a new message, it would be nice if the tab of the log window could flash, and/or perhaps show the bar.

Thanks,
-Brett

Technical Support Jun 21, 2007 - 4:34 AM

The flashing effect is not supported for tab items at present. As a possible solution you could notify users through as a small icon pane in the status bar.

Brett Cook Jun 21, 2007 - 4:21 PM

How about can I simply unhide the docked dialog when a message comes in?

Technical Support Jun 22, 2007 - 9:07 AM

If you want to show/activate a control bar in any state, you should send the WM_COMMAND message to the main frame window and specify the control bar’s dialog control identifier in the WPARAM parameter:

CMainFrame * pMainFrame = . . .
CExtControlBar * pBar = . . .
      pMainFrame->SendMessage( WM_COMMAND, WPARAM( pBar->GetDlgCtrlID() ) );
If you mean something else, please let us know.