Causes the host to enable or disable its main window as well as any modeless dialog boxes.

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.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also