CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2001
    Posts
    9

    how to get menu item name

    hi,

    i would like to store the menu item name when ever we clicked on the menu item in any applications by sitting in one application...
    i am trying using hooks .... but not getting ...

    pl . give solution ...
    will be apprecitable ...
    URGENT
    ADESH



  2. #2
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: how to get menu item name

    You will need to install a WH_SYSMSGFILTER hook.
    Information on this can be found at http://www.merrioncomputing.com/OnlineIssue2.htmon the Merrion website and the background can be found at http://msdn.microsoft.com/library/te...dn_hooks32.htmMSDN.

    HTH,
    D

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured