Add menu item and specify an underlined character? |
Post Reply |
Author | |
bruceh
Newbie Joined: 19 May 2008 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 19 May 2008 at 1:43pm |
How can I display an underlined letter for an accelerator key in a programatically added menu item?
The code I am using to add a menu item reads:
m_pBrowseToolBar = (CXTPToolBar*)pCommandBars->Add("Browse", xtpBarFloating)
Are underlined letters in this context not supported? ("&Browse" does not do it.)
Is there a workaround? Do I need to, for example, include the menu item statically with Visible set to false, then dynamically set the Visible property true?
Thank you.
|
|
Bruce Haley
Seattle, Washington USA |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |