Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Causes a specified window to inherit the monitor of another window.
Syntax
BOOL InheritWindowMonitor(
HWND hwnd,
HWND hwndInherit
);
Parameters
hwnd
An HWND handle to the window for which monitor inheritance is set.
hwndInherit
An HWND handle to the window from which the monitor is inherited.
Return value
True if the call is successful.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1803 [desktop apps only] |
| Minimum supported server | Windows Server 2016 [desktop apps only] |
| Header | winuser.h |
| Library | User32.lib |
| DLL | User32.dll |