Freigeben über


COleControlSite::EnableWindow

Enables or disables mouse and keyboard input to the control site.

virtual BOOL EnableWindow(
   BOOL bEnable 
);

Parameters

  • bEnable
    Specifies whether to enable or disable the window: TRUE if window input is to be enabled, otherwise FALSE.

Return Value

Nonzero if the window was previously disabled, otherwise 0.

Requirements

Header: afxocc.h

See Also

Concepts

COleControlSite Class

COleControlSite Members

Hierarchy Chart