Share via


ITaskbarList2::MarkFullscreenWindow

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method is used to mark a window as full-screen.

Syntax

HRESULT MarkFullscreenWindow(
  HWND hwnd,
  BOOL fFullscreen
);

Parameters

  • hwnd
    [in] Handle of the window to be marked.
  • fFullscreen
    [in] A boolean value that marks the desired full-screen status of the window.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

When the value of fFullscreen is set to TRUE, the shell treats this window as a full-screen window, and when this window is active the taskbar is moved to the bottom of the z-order. Setting the value of fFullscreen to FALSE removes the full-screen marking, but does not cause the shell to treat the window as though it were definitely not full-screen. With a FALSE fFullscreen value, the shell will depend on its automatic detection facility to specify how the window should be treated. It may still flag the window as full-screen.

Requirements

Header shobjidl.h, shobjidl.idl
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ITaskbarList2
ITaskbarList
Standard Shell Interfaces