Call this member function to update the state of 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 );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories