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
|
Feb 2, 2010 - 9:25 PM
|
Hello. I want to deactivate this button.
Please teach a good command. 
|
|
Technical Support
|
Feb 3, 2010 - 8:57 AM
|
We guess you implemented custom bar caption buttons. If the CExtBarNcAreaButton::OnQueryVisibility() virtual method returns false flag, then the button is not visible. So, your caption buttons should know when then should be visible and when hidden. The CExtControlBar::OnNcAreaButtonsReposition() method recomputes layout of caption. After that, you can redraw bar caption by sending the WM_NCPAINT message to the CExtControlBar window.
|
|