PyCWnd.UpdateDialogControls

int = UpdateDialogControls(pTarget, disableIfNoHandler )

Updates the state of dialog buttons and other controls in a dialog box or window that uses the PyCCmdUI::HookCommandUpdate callback mechanism.

Parameters

pTarget : PyCCmdTarget

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

disableIfNoHandler : int

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