Links

  • Home
  • About

ntcoder

all about technology

Follow Us

Search

Posts tagged with 'Screensaver'

 

Starting screensaver properly

Posted on July 17, 2008 by Nibu Thomas 2 Comments

Once again just one line of code… [sourcecode language=’cpp’]::PostMessage( m_hSomeWnd, WM_SYSCOMMAND, SC_SCREENSAVE, 0 );[/sourcecode] The moment you move your mouse or press any key screensaver disappears, so watch out! 😉
Continue reading…

Share this:

  • Tweet
  • Email
  • Share on Tumblr
  • Pocket
  • Print

Categories: Windows API

Tags: PostMessage, Screensaver, SC_SCREENSAVE, WM_SYSCOMMAND

 

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 63 other subscribers

Calendar

January 2021
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Aug    

Tags

.net ActiveX ATL C++ CComboBox CDialog Clipboard COM Console API Console Application cout CreateProcess CString Debug Debugger Debugging dumpbin Feature pack GDI GetProcAddress GetSystemMenu Interview questions MVP MVP Summit MVP Summit 2008 Nibu Nibu babu thomas Nibu Thomas Ray Ozzie Redmond SetBkMode SetWindowPos ShGetFileInfo Steve Ballmer stl Summit VC8 vector Visual studio Visual Studio 2013 VS2005 VS2008 windbg Windows Windows Phone

Categories

Nibu Thomas

Nibu Thomas

I work as a Support Escalation Engineer at Microsoft Support, supporting C#, VB.net, Visual C++, Visual Studio, MFC, STL, Compilers etc. Troubleshoot crashes, hangs, and a variety of customer issues when using Microsoft Products listed above.

  • What’s new in Visual Studio 2012 Solution Explorer
  • MFC Feature Pack Tutorial – Part 2 – CMFCPropertySheet
  • MFC Feature Pack Tutorial – Part 3 – CMFCPropertyGridCtrl
  • MFC Feature Pack Tutorial – Part 1 – Getting started
  • About Nibu

Powered by WordPress and HeatMap AdAptive Theme

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.