Message sent when a monitor is disabled/enabled
I am trying to detect the enabling/disabling of a monitor in the Display Properties window in Windows 2000.
I could call ::GetSystemMetrics(SM_CMONITORS) in my application to find out the number of monitors, but would prefer to handle the message sent by Windows to the applications when the number of monitors changes.
Thank you for your time.

