473,511 Members | 16,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Right Align Menu Shortcuts

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
this is an ugly solution because some wont line up properly.

Thanks,
Henry
Nov 21 '05 #1
4 2366
Not all MS apps have right aligned shortcuts. Outlook express has the same
appearance as your dotnet menus.
to right align the shortcut Text you'll have to ownerdraw the menuitems.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Henry C. Wu" <he***********@gmail.com> wrote in message
news:44**************************@posting.google.c om...
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
this is an ugly solution because some wont line up properly.

Thanks,
Henry

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.782 / Virus Database: 528 - Release Date: 22/10/2004
Nov 21 '05 #2
Not all MS apps have right aligned shortcuts. Outlook express has the same
appearance as your dotnet menus.
to right align the shortcut Text you'll have to ownerdraw the menuitems.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Henry C. Wu" <he***********@gmail.com> wrote in message
news:44**************************@posting.google.c om...
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
this is an ugly solution because some wont line up properly.

Thanks,
Henry

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.782 / Virus Database: 528 - Release Date: 22/10/2004
Nov 21 '05 #3
"Henry C. Wu" <he***********@gmail.com> schrieb:
Hi, how do you make all shortcut keys (Ctrl+V,Ctrl+C) aligned to the
right like in Internet Explorer or any MS applications?


That's the default for .NET menu items too. Set the menu item's 'Shortcut'
property to the shortcut you want and make sure its 'ShowShortcut' property
is set to 'True'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #4
"Henry C. Wu" <he***********@gmail.com> schrieb:
Hi, how do you make all shortcut keys (Ctrl+V,Ctrl+C) aligned to the
right like in Internet Explorer or any MS applications?


That's the default for .NET menu items too. Set the menu item's 'Shortcut'
property to the shortcut you want and make sure its 'ShowShortcut' property
is set to 'True'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #5

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

Similar topics

4
14162
by: Aaron Queenan | last post by:
How can I use the designer to add a context menu to a class which inherits from a control, e.g. treeview, without adding the context menu to a form? For example, to add a context menu with...
0
277
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...
1
2674
by: rsteph | last post by:
I've got a page with a menu div that is 1066px wide by 150px high. And then I have some images that are 150px by 150px for the menu items. I put the images in a table that is set to 150x150px with a...
1
5539
by: bogdan | last post by:
Hi, I have a div to provide a background image for a menu. I'd like to position the menu on the right side but I can't seem to find a right way of doing it. The only way the menu will move to...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
7081
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
7510
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
5668
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,...
1
5066
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3213
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1576
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.