Can we set text right aligned on a static control |
Post Reply |
Author | |
vijaymahajan
Groupie Joined: 16 June 2008 Status: Offline Points: 92 |
Post Options
Thanks(0)
Posted: 16 August 2008 at 7:15am |
Hello, We have some static controls on the ribbon bar.
We want to set the text right aligned on it.can we do it?Is there any
function to set the text right aligned on a static control?
see,here we want all the strings on left side to be right aligned?
Please let me know the solution.
Thanks And Regards,
Vijay.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Sorry, there is no standard method. You can override CXTPControlLabel its
virtual CSize GetSize(CDC* pDC);
and
virtual void Draw(CDC* pDC);
and draw as you need.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |