I'm curious, what is the Win32 notification that is broadcast when the number of monitors in the system changes? I thought it was WM_DISPLAYCHANGE but I was wrong.
Click the monitor you want the notifications to appear on (Should highlight green) 4. Under the Multiple Displays Section. Check the box Make this my main display 5. Scroll up and click the Apply Button to set the changes
Scroll up and click the Apply Button to set the changes ... and voilà! 1. Go to display settings 2. Moved the position of the monitors eg) [1] [2] -> [2] [1] (Whatever variation you want) 3. Click the monitor you want the notifications to appear on (Should highlight green)
a. Unplug all external displays from the back of the computer. b. Plug the monitor (that you want to display as Identity 1) into one of the DVI slots. c. Switch on the computer and Check in Display Properties if it is identified as 1 if not then, repeat steps a-c, this time plugging the monitor into the other DVI slot.
Thanks for your feedback. When you right click the Desktop and select Screen Resolution, do you see all 4 monitors displayed at the top of that window? If you do, position the cursor over any of those monitors and you can drag them to the position where you want them to appear.
This is quite easy to check with Microsoft Spy++
. In my case I checked on Windows 7 x64 with two monitors connected and switching the second monitor off and on again.
When removing a monitor you will see a WM_DISPLAYCHANGE
, but not when adding a monitor.
You will see a WM_DEVICECHANGE
with DBT_DEVNODES_CHANGED
(after RegisterDeviceNotification).
You will see WM_SETTINGCHANGE
for SPI_SETWORKAREA
and SPI_ICONVERTICALSPACING
.
And you will see registered messages "UxdDisplayChangeMessage" and "HotplugDetected" (second one only when adding monitor). You can use RegisterWindowMessage to get the identifier for these messages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With