Upravit

Sdílet prostřednictvím


IOleInPlaceFrame::EnableModeless method (oleidl.h)

Enables or disables a frame's modeless dialog boxes.

Syntax

HRESULT EnableModeless(
  [in] BOOL fEnable
);

Parameters

[in] fEnable

Specifies whether the modeless dialog box windows are to be enabled (TRUE) or disabled (FALSE).

Return value

This method returns S_OK if the dialog box was either enabled or disabled successfully, depending on the value for fEnable.

Requirements

Requirement Value
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::EnableModeless

IOleInPlaceFrame