Hi Ivo,
I need ot set hotkeys to my windows application. I want when Word is thea
active application and when user press "Ctrl+Alt+T" for example to start
my
action.
Ctrl+Alt+T is a shortcut key in Word 2003 at least, I'd assume in other
recent versions as well. When in Word and when pressing the keyboard
shortcut, what happens? Does anything happen in Word?
Secondly, are you checking the return value of RegisterHotKey? Is it true?
And thirdly, what if you create a shortcut to your C# application (for
example on the desktop) and then on the properties of the shortcut specify
Ctrl+Alt+T as the shortcut key, and then in Word press Ctrl+Alt+T, does you
application start?
--
Regards,
Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi http://www.saunalahti.fi/janij/