Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Causes the host to enable or disable its main window as well as any modeless dialog boxes.
Syntax
HRESULT EnableModeless(
BOOL fEnable // enable flag
);
Parameters
fEnable
[in] Flag that, if TRUE, enables the main window and modeless dialogs or, if FALSE, disables them.
Return Value
Returns S_OK if successful, or E_FAIL if an error occurred.
Remarks
This method is identical to the IOleInPlaceFrame::EnableModeless method.
Calls to this method can be nested.