Shortcut keys for menu items? (WinAPI)

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-05-25T23:26:53Z Indexed on 2010/05/25 23:31 UTC
Read the original article Hit count: 189

Filed under:
|
|

How can I add shortcut keys to my menu items. I notice that many applications have:

New     ctrl+N
Open    ctrl+O

Do I write the endings (like ctrl+N) myself and handle WM_KEYDOWN or is there a magical way to do it with resources?

Thanks

© Stack Overflow or respective owner

Related posts about c++

Related posts about c