Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MarkFullscreenWindow
Collapse the table of content
Expand the table of content

ITaskbarList2::MarkFullscreenWindow method

Marks a window as full-screen.

Syntax


HRESULT MarkFullscreenWindow(
  [in] HWND hwnd,
  [in] BOOL fFullscreen
);

Parameters

hwnd [in]

Type: HWND

The handle of the window to be marked.

fFullscreen [in]

Type: BOOL

A Boolean value marking the desired full-screen status of the window.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Setting the value of fFullscreen to TRUE, the Shell treats this window as a full-screen window, and the taskbar is moved to the bottom of the z-order when this window is active. 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 depends on its automatic detection facility to specify how the window should be treated, possibly still flagging the window as full-screen.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

DLL

Shell32.dll

See also

ITaskbarList2
ITaskbarList

 

 

Community Additions

ADD
Show:
© 2015 Microsoft