Print Page | Close Window

Characters in Control Caption

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=12609
Printed Date: 16 November 2024 at 5:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Characters in Control Caption
Posted By: MadRiver
Subject: Characters in Control Caption
Date 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?




Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net