Inhibit Screen Saver while application is running

Giganews Newsgroups
Subject: Inhibit Screen Saver while application is running
Posted by:  Graham Powell (grah…@deephaven.co.uk)
Date: Wed, 25 Jun 2008

Probably stuck this in the wrong newsgroup before, so I shall try again.

Anybody know how to do this. I have tried monitoring the WM_SYSCOMMAND and
looking for SC_SCREENSAVE but it does not happen. In fact the application
receives no WM_SYSCOMMAND message when the screen saver is triggered.

Any help much appreciated
  Graham

Replies