次の方法で共有


ITaskbarList2::MarkFullscreenWindow (Compact 2013)

3/28/2014

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

See Also

Reference

ITaskbarList2
ITaskbarList
Shell Interfaces