BOOL fEnable // enable flag
Causes the host to enable or disable its main window as well as any modeless dialog boxes.
Returns S_OK if successful, or E_FAIL if an error occurred.
[in] Flag that, if TRUE, enables the main window and modeless dialogs or, if FALSE, disables them.
This method is identical to the IOleInPlaceFrame::EnableModeless method.
IActiveScriptSiteWindow（你的带ActiveX控件的窗口）:This interface is implemented by hosts that support a user interface on the same object as IActiveScriptSite. Hosts that do not support a user interface, such as servers, would not implement the IActiveScriptSiteWindow interface. The scripting engine accesses this interface by calling QueryInterface from IActiveScriptSite.
1、GetWindow：（Retrieves the window handle that can act as the owner of a pop-up window that the scripting engine must display. ）
2、EnableModeless:（Causes the host to enable or disable its main window as well as any modeless dialog boxes.）