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 |
|
Rado Manzela
|
Jun 3, 2010 - 3:15 AM
|
I need to hide close buttons from dynamic bars completely. I’ve managed to hide most of them, but there is still close button when I dock 2 dynamic bars in one floating bar (it creates "ProfUIS-MiniDockFrameWnd" window). How can I disable this close button please? Thank you.
|
|
Rado Manzela
|
Jun 4, 2010 - 1:53 AM
|
|
|
Technical Support
|
Jun 3, 2010 - 10:22 AM
|
The CExtControlBar::NcButtons_HandleQueryVisibility virtual methods allow you to hide any caption button of resizable control bar in any state. You should override this method and return true if you want to control the caption visibility. The bButtonIsVisible reference flag parameter should be used for saving visibility state flag. The pNcAreaButton parameter is pointer to the caption button object. It’s the CExtBarNcAreaButtonClose object in case of X-button.
|
|