PyCWnd.EnableWindow

int = EnableWindow(bEnable)

Enables or disables the window. Typically used for dialog controls.

Parameters

bEnable=1 : int

A flag indicating if the window is to be enabled or disabled.

MFC References

CWnd::EnableWindow

Return Value

Returns the state before the EnableWindow member function was called