Print Page | Close Window

CXTPControlPopup set a alignleft

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=12018
Printed Date: 03 June 2024 at 1:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlPopup set a alignleft
Posted By: ledled
Subject: CXTPControlPopup set a alignleft
Date Posted: 29 August 2008 at 4:05am
Hello,
I want to set a only caption alignleft to CXTPControlPopup which use style xtpButtonCaption.
But, It will become in the aligncenter.
 
If style xtpButtonIconAndCaption is used, it will be set to alignleft , but icon is unnecessary.
CXTPControlPopup* pPopup = CXTPControlPopup::CreateControlPopup(xtpControlButtonPopup);
pPopup->SetStyle(xtpButtonCaption);
pPopup->SetFlags(xtpFlagControlStretched | xtpFlagLeftPopup);
pPopup->SetCaption("test");
 



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