Freigeben über


CMFCToolBarButton::EnableWindow

Enables or disables mouse and keyboard input.

virtual void EnableWindow(
   BOOL bEnable = TRUE
);

Parameters

  • [in] bEnable
    Set this parameter to TRUE to enable input, or to FALSE to disable input.

Remarks

This method calls the EnableWindow function to enable or disable input. For more information, see EnableWindow in the Windows SDK.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart

EnableWindow