Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CWnd::UpdateDialogControls

Call this member function to update the state of dialog buttons and other controls in a dialog box or window that uses the ON_UPDATE_COMMAND_UI callback mechanism.

void UpdateDialogControls( 
   CCmdTarget* pTarget, 
   BOOL bDisableIfNoHndler  
);
pTarget

Points to the main frame window of the application, and is used for routing update messages.

bDisableIfNoHndler

Flag that indicates whether a control that has no update handler should be automatically displayed as disabled.

If a child control does not have a handler and bDisableIfNoHndler is TRUE, then the child control will be disabled.

The framework calls this member function for controls in dialog bars or toolbars as part of the application's idle processing.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.