Article 2509 of microsoft.public.win32.programmer.kernel: > Is there a function inside win32 to determine if the screensaver is activ and runnig ???? No, but it's not that hard to implement yourself. Look up kb-article Q150785 "How to Detect If a Screen Saver Is Running on Windows NT" for more info. BOOL IsScreenSaverRunning( void ) { HDESK hDesktop; hDesktop = OpenDesktop( TEXT("screen-saver"), 0, FALSE, MAXIMUM_ALLOWED ); if(hDesktop == NULL) { if(GetLastError() == ERROR_ACCESS_DENIED) return TRUE; return FALSE; } CloseDesktop(hDesktop); return TRUE; } Cheers, Patrik ------ If replying by email, remove the spam protection stuff ".---", at the end of my return address.