Microsoft DirectX 8.1 (C++)

IFullScreenVideo::HideOnDeactivate

The HideOnDeactivate method hides the window icon when the full-screen window is deactivated.

Syntax

HRESULT HideOnDeactivate(
  long Hide
);

Parameters

Hide

[in] Value specifying whether to hide the video window icon when the full-screen window is deactivated. Set to OATRUE to hide the icon; set to OAFALSE to display the icon.

Return Value

Returns NOERROR if successful and E_INVALIDARG if Hide is invalid.

Remarks

The default setting for the DirectShow Full Screen Renderer is OATRUE.

The Full Screen Renderer can function only when it is the foreground active window. If the user tries to switch to another application while in full-screen mode, the video will be hidden. The renderer does this by minimizing the window it is actually drawing the video in (although the use of a window is transparent to the user). Maximizing the window restores the video. If this property is set, the window will be hidden rather than minimized.

See Also