StripMnemonics not correct |
Post Reply |
Author | |
zitz
Senior Member Joined: 05 October 2008 Status: Offline Points: 112 |
Post Options
Thanks(0)
Posted: 27 May 2009 at 2:01am |
I use Xtreme ToolkitPro v13.0.0, static
error in code:
At toolbar button i want to see "Capture && string" pButton->SetCapture( _T("Capture &&&& string") ) and i got "Capture &&& string" :((( |
|
zitz
Senior Member Joined: 05 October 2008 Status: Offline Points: 112 |
Post Options
Thanks(0)
|
How to fix?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Thanks, agree. please replace it to:
void CXTPDrawHelpers::StripMnemonics(CString& strClear)
{ for (int i = 0; i < strClear.GetLength(); i++) { if (strClear == _T('&')) // Converts "&&" to "&" and "&&&&" to "&&" { DELETE_S(strClear, i); } } } |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zitz
Senior Member Joined: 05 October 2008 Status: Offline Points: 112 |
Post Options
Thanks(0)
|
Thank You, Oleg!
Please comment: https://forum.codejock.com/forum_posts.asp?TID=14321 |
|
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 |