• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

How can i invoke a screen saver??

i am writing c program in graphics mode.
in that, i want to invoke (call) a
screen saver.. how can i do it??
i want a machine independent .exe
file?? is it possible??
 
0
prabhuram
Asked:
prabhuram
1 Solution
 
inprasCommented:
Hi
Do this
PostMessage(WM_SYSCOMMAND, SC_SCREENSAVE, 0L);
WhenEver U want to trigger the screen saver
Hope this helps
Regards
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now