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. Get Control at Point in another Window

Get Control at Point in another Window

Scheduled Pinned Locked Moved C#
csharpjavacomtoolsquestion
1 Posts 1 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.
  • P Offline
    P Offline
    Programm3r
    wrote on last edited by
    #1

    Hi all, I am trying to get hold of a control (context menu item) that the user has clicked on in another window. Let me explain some more: I have wrote a VSTO add-in which has a mouse and keyboard hook. The hook checks for any combination of shift+delete. So in Outlook, when the user right clicks on an item, then holds the Shift key in while clicking the Delete context menu item the hook fires, but it will fire even if the user hasn't selected any items. :( It will fire on every Shift(Key) + Right Mouse button click ... this is not right :thumbsdown::thumbsdown: So I am trying to get hold of the "Delete" context menu item within Outlook so that I can know when the user is actually trying to delete something. Any suggestions? Many thanks in advance.

    The only programmers that are better C# programmers, are those who look like this -> :bob:

    :java: Programm3r My Blog: ^_^

    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