COleControlSite::EnableWindow

 

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

Syntax

      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

COleControlSite Class
Hierarchy Chart