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

    Hotkey support for a COM based VBE add-in

    Hi,
    I am new to VB and am writing a IDTExtensibility based add-in for the VB IDE. I can't figure out how I can provide hotkey support for my add-in. Adding toolbars etc is usual but I wish to go one step further and allow the user to trigger the add-in from a hotkey.
    Any help will be deeply appreciated.
    Nas.



    Find out what you like doing best and get someone to pay you for doing it.

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

    Re: Hotkey support for a COM based VBE add-in

    Hi,

    There is a hotkey control at http://www.merrioncomputing.com/Download/index.htm that shows you how to do this using the RegisterHotkey API call and watching for WM_HOTKEY messages.

    HTH,
    D.

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    '--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