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.
Subject |
Author |
Date |
|
tera tera
|
Jan 19, 2010 - 5:24 PM
|
Hello. A user pushes the X button very much by mistake.
A method the user chooses a docking bar among PopupMenu, and to display again.
Users do not seem to understand it well. In CExtContorlBar, I want to always make X buttons non-display.
Please teach a method. 
|
|
Technical Support
|
Jan 20, 2010 - 1:31 PM
|
Please create and use your own CExtControlBar derived class which implements the CExtControlBar::OnNcAreaButtonsReinitialize() virtual method. Your virtual method should be similar to original, but it should not create the CExtBarNcAreaButtonClose button. This will remove the close buttons from all the stand-alone resizable control bars. The tabbed bars are also resizable control bars. You should implement your own tabbed bar class, override the same virtual method in it and make Prof-UIS using your tabbed bar class. Here is what you need in details:
http://www.prof-uis.com/prof-uis/tech-support/faq/control-bars.aspx#how-to-remove-the-close-button-x-from-the-control-bar
|
|