By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,869 Members | 1,756 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,869 IT Pros & Developers. It's quick & easy.

Any tricks how to make menu shortcuts like: Ctrl+W, E

P: n/a
Hi,

I would like to have a View menu like the one in VS(2005), where I can have
"two-key" shortcuts (e.g. Ctrl+W followed by E or Ctrl+E).

Any suggestions how to do that?

Thanks, Jan
Mar 7 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Fri, 07 Mar 2008 04:33:00 -0800, Jan <j0****************@world.dk>
wrote:
Hi,

I would like to have a View menu like the one in VS(2005), where I can
have
"two-key" shortcuts (e.g. Ctrl+W followed by E or Ctrl+E).
I haven't seen any built-in support for something like that. So you would
most likely have to handle the key presses yourself, in whatever
control/form is relevant for the input. Upon receiving the first key
press, you'll have to set some state (presumably also displaying some
status to the user, such as changing text in a status bar or something)
and then upon receiving the second key press, if that state is set, handle
the key press as the completion for the command.

Pete
Mar 7 '08 #2

P: n/a
OK. Thanks, Peter.
Mar 10 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.