Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Characters in Control Caption
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Characters in Control Caption

 Post Reply Post Reply
Author
Message
MadRiver View Drop Down
Groupie
Groupie


Joined: 21 August 2008
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadRiver Quote  Post ReplyReply Direct Link To This Post Topic: Characters in Control Caption
    Posted: 04 November 2008 at 4:09pm
It seems that some characters aren't valid for the Caption property of a CommandBarControl.
For example, when I try this
pControl->PutCaption(_bstr_t("Exit...\tAlt+F4"));
everything after the '\t' is lost.
Is this true for all escaped characters? Are there other restrictions?

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2008 at 4:34am
Hi,
Its true only for \t.
Use KeyBindings or ShortcutText to draw rightaligned text.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.140 seconds.