Shortcut keys
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, Does anybody know if there is an easy way to assign a shortcut key to a menu item, and if there isn't an easy way, is there a way that doesn't go through PreTranslateMessage function? Cheers Dor
If you want the shortcut to be local to your program you can define accelerators using the resource editor. If you want global shortcuts read this article :- http://www.codeproject.com/system/nishhotkeys01.asp[^] Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]