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 General Discussion » How to remove auto-hide button of CExtControlBar. Collapse All
Subject Author Date
Seung Cheol Lee Apr 28, 2009 - 1:19 AM

I don’t want to use the auto-hide of CExtControlBar.


So I’d like to remove the auto-hide button of CExtControBar.


How to do.

Sam Smith Apr 26, 2021 - 3:42 PM

And because we understand your concern, we always double-check your final draft before sending it to you, to make sure that there’s no trace of plagiarism, and that it’s exactly as it should be – of the highest quality https://papernow.org/ . Top-notch content and originality are two of the factors that will characterize your paper – the reviews of our service testify for us, outlining that our primary concern is to meet our customer’s requirements, in all cases. Contact us today and allow us to be part of your academic success!

Technical Support Apr 28, 2009 - 12:18 PM

If you want to disable the auto-hide feature for all control bars in the main frame window, you can do that by commenting out the invocation of CExtControlBar::FrameInjectAutoHideAreas() that is called during main frame initialization.
If you want just to remove the auto-hide button from caption(s) of bar(s), you should create and use a CExtControlBar-derived class which implements the CExtControlBar::OnNcAreaButtonsReinitialize() method. Your method should be similar to the original one so you can simply copy code from the original method and just remove the NcButtons_Add( new CExtBarNcAreaButtonAutoHide(this) ); line of code.