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. Capture mouse click to get application name

Capture mouse click to get application name

Scheduled Pinned Locked Moved C#
help
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.
  • B Offline
    B Offline
    Burim Rama
    wrote on last edited by
    #1

    Hey i trying to make a application thats run on background and write to a file how long user was running a application Ex. if user click on word then write to a file user clict on word time: 11:01 or somthing like that. and if user clickt on internet explorer then write to file user clickt on internet explorer time: 11-03. i hope you can help me. Sorry my english,

    D 1 Reply Last reply
    0
    • B Burim Rama

      Hey i trying to make a application thats run on background and write to a file how long user was running a application Ex. if user click on word then write to a file user clict on word time: 11:01 or somthing like that. and if user clickt on internet explorer then write to file user clickt on internet explorer time: 11-03. i hope you can help me. Sorry my english,

      D Offline
      D Offline
      DaveyM69
      wrote on last edited by
      #2

      http://www.codeproject.com/KB/cs/globalhook.aspx[^]

      Dave

      B 1 Reply Last reply
      0
      • D DaveyM69

        http://www.codeproject.com/KB/cs/globalhook.aspx[^]

        Dave

        B Offline
        B Offline
        Burim Rama
        wrote on last edited by
        #3

        thanks very much dave.. i was wery big help. but how shut i get the application name which user has clict on. thanks very mutch

        D 1 Reply Last reply
        0
        • B Burim Rama

          thanks very much dave.. i was wery big help. but how shut i get the application name which user has clict on. thanks very mutch

          D Offline
          D Offline
          DaveyM69
          wrote on last edited by
          #4

          Not sure - I just came accross that article the other day when searching for info for someone else! This one[^] captures the App name so you should be able to figure it out from the source. Don't forget to use the CP search function - that's how I found them ;)

          Dave

          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