nir malbin

nir malbin

  • NA
  • 3
  • 0

Create shortcuts keys

Dec 16 2008 10:39 AM

Hello,

I'm trying to assign shortcuts keys in my program. The only solution i found is to create a menu item and set its shortcut key property... Problem is that it is just not right... i dont need a menu... so why create one for just a shortcut...

Using the keys events is also not useful because i need the shortuct to be active for each of my controls in the form...

The best idea i had is to create a key logger that will catch all keys pressed in the OS and check if the form is in foucs, but i rather evoid that...

Any ideas? (Using .Net 2 Only)

Thanks!!!


Answers (3)