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 |
|
Kit Kwan
|
Apr 27, 2008 - 10:30 AM
|
Hi, I’m trying the ProfUIS_Controls toolbar sample. It shows how to add regular dialog controls into a CExtToolControlBar. However, I can’t find out how to disable the dialog control after that. If I simply call EnableWindow(FALSE), the control is still always enabled in the toolbar. How do I disable it? Thanks.
|
|
Technical Support
|
Apr 28, 2008 - 9:46 AM
|
You should add a command updating handler for the button with attached some control in the toolbar and use the CCmdUI::Enable() method for disabling or enabling this button. The attached window will be enabled/disabled synchronously.
|
|