473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

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

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
2 1782
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
OK. Thanks, Peter.
Mar 10 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Burson | last post by:
Hi, In VB6, I often used shift+F2 to see a definition, and ctrl+shift+F2 to get back to where I was originally. In VB.Net, F12 is great to get to a definition, but how to I get back to where I...
2
by: Brano | last post by:
Hi all, I have this problem I have a menu structure in my VB.NET application that is about 4 levels deep. I need an CTRL+key access to the 3rd level so that if user press CTRL+key the 3rd menu...
4
by: Henry C. Wu | last post by:
Hi, how do you make all shortcut keys (Ctrl+V,Ctrl+C) aligned to the right like in Internet Explorer or any MS applications? What I'm doing now to align them all to the right is to add spaces but...
2
by: PadPad | last post by:
How to create the menu shortcuts for the menu item.
2
by: Pad | last post by:
How to create new shortcuts key in order for the user to access it. for example I want to create ctrl+f for the File menu. How can I do this???
0
by: Fredrik Melin | last post by:
I dont know if its the framework or the fact that I am using MenuStrip nowadays but If you have a textbox highlighted (active control), menu shortcuts dont work anymore. My textboxes is readonly...
0
by: Dave Harris | last post by:
After switching cultures for a thread, the Menu shortcuts are still showing the English word shift (as in Ctrl+Shift+M instead of Ctrl+Maj+M in French). Running this on a French version of windows...
0
by: Andrus | last post by:
MDI WinForms 2 application. I need that Ctrl+F1 cycles through windows like Ctrl+Tab and Ctrl+Tab is redefined. I overrided MDI child form OnKeypress method but Ctrl+F1 press is ignored. For...
11
by: shadyabhi | last post by:
How can i accept key strokes like Ctrl+A etc etc ... i mean combination of 2 keys... Pls give a small peice of code to demonstrate... i use gcc under linux platform
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.