Re:Changing the primary display using the Win32 API
by CrendKing on Sunday June 12, 2022 @07:56PM
(#31719416)
Whichever monitor's position is set to (0, 0) is the primary monitor. The following code assumes you have two monitors, and swaps the primary. Of course, to be more robust, you should not hard code the indices but do checking on the info types.
[ Parent
| on HN ]
There are no comments on this comment yet.