Professional UI Solutions
Site Map   /  Register


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 » Question CExtControlBar Collapse All
Subject Author Date
tera t Aug 1, 2008 - 2:25 AM


I maximize a bar and, to the place of a green arrow, want to display it.


Technical Support Aug 1, 2008 - 12:53 PM

How did you maximize it? What is maximized bar in your message?

tera t Aug 3, 2008 - 7:24 PM


It is A-Bar. ( CExtControlBar )

Technical Support Aug 4, 2008 - 2:03 PM

In this case you can only resize the separator between the bars manually.

Prof-UIS also supports collapsing/expanding the caption button for resizable control bars. But this button is experimental component and it’s not used by resizable control bars by default.

Technical Support Aug 4, 2008 - 2:05 PM

The caption buttons are initialized in the CExtControlBar::OnNcAreaButtonsReinitialize() virtual method where you can see the initialization of the CExtBarNcAreaButtonExpand button is commented:

void CExtControlBar::OnNcAreaButtonsReinitialize()
      ASSERT_VALID( this );
INT nCountOfNcButtons = NcButtons_GetCount();
      if( nCountOfNcButtons > 0 )
      NcButtons_Add( new CExtBarNcAreaButtonClose(this) );
      NcButtons_Add( new CExtBarNcAreaButtonAutoHide(this) );
#endif // (!defined __EXT_MFC_NO_TAB_CONTROLBARS)
      // NcButtons_Add( new CExtBarNcAreaButtonExpand(this) );
      NcButtons_Add( new CExtBarNcAreaButtonMenu(this) );
      // NcButtons_Add( new CExtBarNcAreaButtonFloatingMaximizeRestore(this) );
You can override this virtual method in your CExtControlBar-derived class, copy the body from original method and uncomment initialization of the CExtBarNcAreaButtonExpand button.