CHtmlView::OnEnableModeless
Called when Internet Explorer or MSHTML displays modal UI.
virtual HRESULT OnEnableModeless(
BOOL fEnable
);
- fEnable
Indicates if the host's modeless dialog boxes are enabled or disabled. If this value is nonzero, modeless dialog boxes are enabled. If this value is zero, modeless dialog boxes are disabled.
S_OK if successful, or an OLE-defined error code otherwise.
Enables or disables modeless dialog boxes when the container creates or destroys a modal dialog box. Override OnEnableModeless to react to the EnableModeless notification from the Microsoft Web Browser control. See IDocHostUIHandler::EnableModeless in the Windows SDK for more information.
Header: afxhtml.h