Click to See Complete Forum and Search --> : Hotkey support for a COM based VBE add-in


N Raja
June 18th, 2001, 10:04 AM
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.

Clearcode
June 21st, 2001, 04:12 AM
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