InheritWindowMonitor function (winuser.h)
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for