Enables or disables modeless dialog boxes when the container creates or destroys a modal dialog box.
HRESULT EnableModeless(
BOOL fEnable //Enable or disable modeless dialog box windows
);
IOleInPlaceActiveObject::EnableModeless is called by the top-level container to enable and disable modeless dialog boxes that the object displays. For the container to display a modal dialog box, it must first call IOleInPlaceActiveObject::EnableModeless, specifying FALSE to disable the object's modeless dialog box windows. When the container is through displaying its modal dialog box, it calls IOleInPlaceActiveObject::EnableModeless, specifying TRUE to reenable the object's modeless dialog boxes.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.
IOleInPlaceFrame::EnableModeless