How to create screensaver ?
Dear Friends;
I am strucked at a point that I have to create a program which loads on the system with system startup &check when was the last keyboard or mouse event occurred .If it exceeds more than 2 minutes than it opens a program in itself say playing mp3 from mplayer.& this stops with any keyboard or mouse event.& agains sets the timer to 0 & wait for 2 minutes .
Is there is any idea to do this.
Your New Friend;
Aki Tomar:crying:
Re: How to create screensaver ?
You will need something like Windows Hook. You will have to look more into WIndows API for that to do.
Re: How to create screensaver ?
Why does everybody just loves to say "hooks", when they mostly are nothing but just some callbacks?
Anyway, for creating a screen saver look at: http://blogs.msdn.com/coding4fun/archive/2006/11/01/918703.aspx.
As for the other things, you can implement them with timers.
Re: How to create screensaver ?
Quote:
Originally Posted by
marcel
Thanks Marcel,
But man I have not to create a screen saver I have to create a program which checks the system ;if system is idol than loads a program,if not than wait for it.
Simply just think it in different way.
please help me;
Aki Tomar
Re: How to create screensaver ?
all links provided here are broken... pls suggest any active link for creating Screensaver for windows using Qt5.1 /5.5 ??