3

That's all, I want to know if someone unplug the monitor and take several actions, any idea? Thank you

eldarerathis
  • 35,455
  • 10
  • 90
  • 93
Santiago
  • 2,190
  • 10
  • 30
  • 59

1 Answers1

0

Not tried by myself, but I think you can listen for WM_DEVICECHANGE and check for System.Windows.Forms.Screen.AllScreens collection changes.

adontz
  • 1,428
  • 16
  • 36