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. C# and Window Message Hooks

C# and Window Message Hooks

Scheduled Pinned Locked Moved C#
csharptutorialquestion
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.
  • R Offline
    R Offline
    roy_huntley
    wrote on last edited by
    #1

    Hi. Im trying to find a way to hookup to the Window Created, Window Destroyed and Window Activated messages from my C# windows app. NB, id like to hook up to these messages from a system-wide scope and not just my own application (for example, id like to know whenever an internet explorer window is opened or made active. Is this possible ? Ive managed to hookup to the mouse_ll and keyboard_ll events, but no more ! Can anybody tell me if its possible ? and/or provide an example ? THanks.~ Roy.

    F 1 Reply Last reply
    0
    • R roy_huntley

      Hi. Im trying to find a way to hookup to the Window Created, Window Destroyed and Window Activated messages from my C# windows app. NB, id like to hook up to these messages from a system-wide scope and not just my own application (for example, id like to know whenever an internet explorer window is opened or made active. Is this possible ? Ive managed to hookup to the mouse_ll and keyboard_ll events, but no more ! Can anybody tell me if its possible ? and/or provide an example ? THanks.~ Roy.

      F Offline
      F Offline
      felopater
      wrote on last edited by
      #2

      u can do this with vc there is no hooking with c# on other applications windows messages. even if you used win32 hooking API's implicitly from c#, you will hook only your own Application Messages. marcoryos

      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