Click to See Complete Forum and Search --> : Is it possible to trap system wide WM_SYSCOMMAND notifications?


dc_2000
November 26th, 2006, 06:49 AM
Hello:


Is it possible to trap system wide WM_SYSCOMMAND Notifications? I need situation when this message is sent to the foreground window with wParam == SC_SCREENSAVE or SC_MONITORPOWER.

Thanks.

anuvk
November 27th, 2006, 01:30 PM
Try installing a global hook.