Share via


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

Reference

COleControlSite Class

Hierarchy Chart

Other Resources

COleControlSite Members