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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to monitore idle time when minimized

How to monitore idle time when minimized

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 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.
  • D Offline
    D Offline
    Daniel Kamisnki
    wrote on last edited by
    #1

    I have an idle time monitoring class that works great but it will not process any messages when the application is minimized....Any ideas on how to monitore idle time on minnized apps? Daniel

    L 1 Reply Last reply
    0
    • D Daniel Kamisnki

      I have an idle time monitoring class that works great but it will not process any messages when the application is minimized....Any ideas on how to monitore idle time on minnized apps? Daniel

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hi Daniel, You can have your hook procedure in a hidden window that is not in the minimized state. However... why can't you just call the GetLastInputInfo Function[^] to determine the users idle time? Best Wishes, -David Delaune

      L 1 Reply Last reply
      0
      • L Lost User

        Hi Daniel, You can have your hook procedure in a hidden window that is not in the minimized state. However... why can't you just call the GetLastInputInfo Function[^] to determine the users idle time? Best Wishes, -David Delaune

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Use Win32 Shell Idle apis instead

        L 1 Reply Last reply
        0
        • L Lost User

          Use Win32 Shell Idle apis instead

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          kilt wrote:

          Use Win32 Shell Idle apis instead

          And which Win32 Shell function would that be? Best Wishes, -David Delaune

          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