Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Add menu item and specify an underlined character?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add menu item and specify an underlined character?

 Post Reply Post Reply
Author
Message
bruceh View Drop Down
Newbie
Newbie


Joined: 19 May 2008
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote bruceh Quote  Post ReplyReply Direct Link To This Post Topic: Add menu item and specify an underlined character?
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.