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 question Collapse All
Subject Author Date
tera tera Oct 15, 2009 - 8:34 PM

Hello.


I want to non-display the bar which is in this state.

Please teach a method.


  ---> 


 


And can you restore a bar in this state?

Please teach a method.



 

tera tera Nov 3, 2009 - 5:57 PM

>If the bar is in the auto hidden state, then user can show it from the auto hide tabs and then push the pin button to return the bar into the normal docked state.


I want to non-display A-Bar by all means. ( Include the AutoHide mode )

Because a user removes AutoHide and operates A-bar.


>If we make the auto hide tabs not showing the bar on muse hover, then the user will never be able to switch the bar into the docked state. The user will never see the bar’s pin button.


I do not understand meanings of "muse hover" well.

What kind of command should I use to perform muse hover ??


 

tera tera Oct 16, 2009 - 10:45 PM

 


I made a command.

Why are not there these standard commands?  


int  CMuControlBar::HideBar()
{
    CFrameWnd * fw = NULL;
    if( IsFloating() == FALSE ){
	    fw = GetDockingFrame();
    }
    else{
	    CFrameWnd * minidoc = GetDockingFrame();
	    if( minidoc != NULL ) {
		    fw = (CFrameWnd*)minidoc->GetParent();
	    }
    }
    if( fw != NULL ) {
     // AutoHideモード
	    if( AutoHideModeGet() ){
	     AutoHideModeSet( false, false, true, true );
	     return 0;
	    }
  if( IsVisible() )
		 fw->ShowControlBar( this , FALSE, FALSE );
    }
    return 0;
}

 

Technical Support Oct 20, 2009 - 9:30 AM

The dynamic resizable control bar (CExtDynamicControlBar) provides simplified methods for managing bar state and visibility: CExtDynamicControlBar::BarStateGet() and CExtDynamicControlBar::BarStateSet(). But in the many cases we need to change positions/states/visibilities of several control bars at once without invoking the CFrameWnd::RecalcLayout() virtual method after changing position/state/visibility of each bar. Such hiding method cannot be applied for many bars at once.

tera tera Nov 2, 2009 - 1:24 AM

Hello.


About CExtControlBar, I want Hide and a Show command.


I create these commands by myself.........  

Technical Support Nov 9, 2009 - 1:20 PM

Such commands are present in dynamic resizable bars. The show/hide command does not cover all the possible states of simple control bars.

Technical Support Oct 16, 2009 - 12:57 PM

If the bar is in the auto hidden state, then user can show it from the auto hide tabs and then push the pin button to return the bar into the normal docked state.
If we make the auto hide tabs not showing the bar on muse hover, then the user will never be able to switch the bar into the docked state. The user will never see the bar’s pin button.