thiago costa

thiago costa

  • NA
  • 319
  • 0

Global Hotkeys Windows Forms

Nov 29 2011 9:24 PM
Hello there guys,

I have found examples, and different codes... But unfortunately, I wasn't able to find anything simple enough for me to play arround with...

This is what I am trying to do..

Regardless of which window I am focused on, I want to press Control + X+V   OR Control + G, (2 or 3 combinations)

and I want a MessageBox.Show to execute ... Or something..

THEN, I want Control + Alt + P to stop what Control + G had started (like a timer or anything else)

How can I do that ?

I don't want to ultilize a class or anything... I just want a straight simple code so that i can try to understand it.

thanks guys...

The reason why I am doing this, is because once the Desired hotkey is pressed, there will be a timmer, then depending on what time it is, a different sound will play ...

Thanks guys

Answers (1)