CFanatic

Go Back   CFanatic > Programming > Win32 Programming

Join CFanatic Forum Now

Button text with shortcutkey letter (ATL) topic posted under Win32 Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 12-19-2007, 06:23 AM
Junior Member
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
TiDi is on a distinguished road
| More
Button text with shortcutkey letter (ATL)

Hi,
My first post ;-)

I have a custom ATL object that is like a button, I want to add a shortcut to that object, so I want to set a letter with the underscore in the button label,
for example

Push Me

so the u is like ALT+U shortcut (standard windows)

now I set the text on the button with
TextOut ( ... ) ;

But If I put the & in from of the letter I obviously see

P&ush Me

any idea?

Thanx a lot

TiDi
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exiting a form and gooding to the next by means of a button hamhallan C# Programming 1 04-10-2008 09:19 AM
Exiting a form and going to the next using a button hamhallan C# Programming 0 04-09-2008 11:18 AM
change text label and color on dialogBox Button chrono Win32 Programming 2 09-12-2007 04:25 PM
Linkworth - Text Link advertising shabbir The Lounge 0 04-25-2007 09:11 PM
want to see trace of programe execution on text file . mangesh_sawant C++ Programming 0 09-30-2006 07:06 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 03:05 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board