We help IT Professionals succeed at work.

vc++ window forms - how do I underline one letter??

225 Views
Last Modified: 2013-11-26
Hi,

One quick question.
In vc++ Window Forms Programming, how can I underline one letter in the text of button. If I have a button "NEW" and I want to underline "N" to indicate the shortcut..(ctrl + N). Does anyone know how to do this?

Thanks a lot
Comment
Watch Question

AndyAinscowFreelance programmer / Consultant
CERTIFIED EXPERT

Commented:
&New

Let the system do it for you.

Author

Commented:
Thx for reply....
Bt, it didn't work like that. It works if I'm doing that at menustripts but not with buttons. Are you sure that works?
Freelance programmer / Consultant
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.