Archive

Posts Tagged ‘SC_SCREENSAVE’

Starting screensaver properly

July 17, 2008 2 comments

Once again just one line of code…

::PostMessage( m_hSomeWnd, WM_SYSCOMMAND, SC_SCREENSAVE, 0 );

The moment you move your mouse or press any key screensaver disappears, so watch out! 😉

%d bloggers like this: