IOleInPlaceActiveObject::EnableModeless method (oleidl.h)

Enables or disables modeless dialog boxes when the container creates or destroys a modal dialog box.

Syntax

HRESULT EnableModeless(
  [in] BOOL fEnable
);

Parameters

[in] fEnable

Indicates whether to enable modeless dialog box windows (TRUE) or disable them FALSE.

Return value

This method returns S_OK on success.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header oleidl.h

See also

IOleInPlaceActiveObject

IOleInPlaceActiveObject::EnableModeless