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. Windows API
  4. Interception of application activation _attempt_ at low-level (no message hooking)

Interception of application activation _attempt_ at low-level (no message hooking)

Scheduled Pinned Locked Moved Windows API
questionlinuxhelpdiscussion
2 Posts 1 Posters 2 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.
  • V Offline
    V Offline
    voland Tatum
    wrote on last edited by
    #1

    Hello, I'll very appreciate your help in somewhat tricky area of Windows development. I have a need to get system-wide (or at least session- or desktop-wide) notification about _attempt_ of activating background application. Just after user click mouse button or Alt-Tab to background application. I can't use system-wide message hooks because it is heavy artillery for my needs. Also hooks doesn't work for suspended threads - messages just don't arrived and are buffered somewhere in the Windows internals. So the question sounds like: is there any method to get (kernel?.. shell?) notification just after user Alt-Tabs to, or mouse-clicks in the App window or on the Taskbar button and before system consider any message to be sent to the App? It is sufficient for me to know Process ID or HWND of the App window. Any thoughts will be very appreciated. Even if it needs to write a driver or service. Thank you for your time. Kind regards, Volodymyr

    V 1 Reply Last reply
    0
    • V voland Tatum

      Hello, I'll very appreciate your help in somewhat tricky area of Windows development. I have a need to get system-wide (or at least session- or desktop-wide) notification about _attempt_ of activating background application. Just after user click mouse button or Alt-Tab to background application. I can't use system-wide message hooks because it is heavy artillery for my needs. Also hooks doesn't work for suspended threads - messages just don't arrived and are buffered somewhere in the Windows internals. So the question sounds like: is there any method to get (kernel?.. shell?) notification just after user Alt-Tabs to, or mouse-clicks in the App window or on the Taskbar button and before system consider any message to be sent to the App? It is sufficient for me to know Process ID or HWND of the App window. Any thoughts will be very appreciated. Even if it needs to write a driver or service. Thank you for your time. Kind regards, Volodymyr

      V Offline
      V Offline
      voland Tatum
      wrote on last edited by
      #2

      No one has knowledge so far?

      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