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#
  4. how can i show a message if it wasn't used for a specific period of time?

how can i show a message if it wasn't used for a specific period of time?

Scheduled Pinned Locked Moved C#
question
3 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.
  • X Offline
    X Offline
    xkx32
    wrote on last edited by
    #1

    hi there can you please tell me how can i show a message if my app wasn't used for a specific period of time? i mean how can i determine that my app wasn't used!!? thanks -- modified at 21:40 Friday 28th July, 2006

    L 1 Reply Last reply
    0
    • X xkx32

      hi there can you please tell me how can i show a message if my app wasn't used for a specific period of time? i mean how can i determine that my app wasn't used!!? thanks -- modified at 21:40 Friday 28th July, 2006

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

      Use some flags, and set this flag in OnMouseMove or OnKeyDown. For counting the time you can use timer.

      X 1 Reply Last reply
      0
      • L Lost User

        Use some flags, and set this flag in OnMouseMove or OnKeyDown. For counting the time you can use timer.

        X Offline
        X Offline
        xkx32
        wrote on last edited by
        #3

        Thanks but you mean OnMouseMove/OnKeyDown of the form? What if the mouse was moved over a control, such as a treeview? Should I handle OnMouseMove/OnMouseMove of all the controls in my form?! This is not right.

        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