Results 1 to 5 of 5

Thread: How to create screensaver ?

  1. #1
    Join Date
    Jan 2008
    Location
    India
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default 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

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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.

  3. #3
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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.

  4. The following user says thank you to marcel for this useful post:

    Aki Tomar (5th February 2008)

  5. #4
    Join Date
    Jan 2008
    Location
    India
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to create screensaver ?

    Quote Originally Posted by marcel View Post
    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.
    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

  6. #5
    Join Date
    Jan 2017
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default 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 ??

Similar Threads

  1. Windows screensaver
    By Darkstar in forum Qt Programming
    Replies: 4
    Last Post: 21st October 2009, 11:44
  2. Create QTextStream
    By Morea in forum Qt Programming
    Replies: 1
    Last Post: 17th June 2007, 21:25
  3. how to create resource fork & data fork
    By jyoti in forum General Discussion
    Replies: 4
    Last Post: 28th November 2006, 18:20
  4. Replies: 1
    Last Post: 24th October 2006, 17:40
  5. How to create an Insert/Submit button for a form.
    By fnmblot in forum Qt Programming
    Replies: 5
    Last Post: 4th August 2006, 17:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.