Re: How to change the font of the main menu in application window?
From: Jeffrey Tan[MSFT] (v-jetan_at_online.microsoft.com)
Date: 10/01/04
- Next message: Jeffrey Tan[MSFT]: "Re: How to sense shift being held?"
- Previous message: MatsL: "Font to support Chinese & Japanese characters?"
- In reply to: Mick Doherty: "Re: How to change the font of the main menu in application window?"
- Next in thread: Dave Leach: "Re: How to change the font of the main menu in application window?"
- Reply: Dave Leach: "Re: How to change the font of the main menu in application window?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 01 Oct 2004 07:06:41 GMT
Hi Mick,
Oh, yes, you are correct. This is because the default setting in Control
Panel -> Display Properties -> Appearance -> Effects -> "Hide underlined
letter for keyboard navigation" is checked, so the underscore will be
displayed only when we pressed "Alt"(only when you pressed "Alt" key, the
DrawItemEventArgs.State will not have DrawItemStates.NoAccelerator flag).
So, we should use DrawItemEventArgs.State to get if windows wanted the
underscore through NoAccelerator flag, if needed, just paint with
HotkeyPrefix.Show.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
- Next message: Jeffrey Tan[MSFT]: "Re: How to sense shift being held?"
- Previous message: MatsL: "Font to support Chinese & Japanese characters?"
- In reply to: Mick Doherty: "Re: How to change the font of the main menu in application window?"
- Next in thread: Dave Leach: "Re: How to change the font of the main menu in application window?"
- Reply: Dave Leach: "Re: How to change the font of the main menu in application window?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|