Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. System Idle Time

System Idle Time

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AlanW
    wrote on last edited by
    #1

    Is there a way to find out how long the system was idle (time since last keyboard or mouse action)? Any help appreciated.

    T 1 Reply Last reply
    0
    • A AlanW

      Is there a way to find out how long the system was idle (time since last keyboard or mouse action)? Any help appreciated.

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      On Win2000 you can use GetLastInputInfo. On other systems you'll need to create a global keyboard/mouse hooks. Have a look at Feb'2000 issue of Microsoft Systems Journal, C++ Q&A column. It should be in the 'Periodicals' section of your VC++ help, if it's not there, go to msdn.microsoft.com, then MSDN Magazine. Tomasz Sowinski -- http://www.shooltz.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups