Private const int SC_MONITORPOWER = 0xF170
Private const int SC_CLOSE = 0xF060 // dont know Private const int SC_SCREENSAVE = 0xF140 Private const int WM_SYSCOMMAND = 0x0112 I dont know how to retrieve the display/screen EVENTS private const int WM_POWERBROADCAST = 0x0218 How do I know when the screen is going off or on.
Hi I have been searching but I can't find the answer.