![]() |
Centering controls in group |
Post Reply ![]() |
Author | |
ibmldev ![]() Groupie ![]() Joined: 17 October 2006 Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() Posted: 16 May 2008 at 11:10am |
Can't get controls to be horizontally centered in group. I tried using SetControlsCentering(), but it doesn't change the alignment. Button is aligned to the left side of the group--how to make it centered? This is my code:
group = pTabXPT->AddGroup( _T( "Associated HW File" ) ); group->SetControlsCentering( TRUE ); group->SetID( GROUP_XPT_HWFILE ); pCtrlLabHWFile = (CXTPControlLabel*)group->Add( xtpControlLabel, ID_TXT_HWFILE ); pCtrlLabHWFile->SetWidth( 300 ); group->Add( xtpControlButton, ID_SET_HWFILE ); |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
it was changed in last releases.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ibmldev ![]() Groupie ![]() Joined: 17 October 2006 Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() |
Thanks for the tip, I'll upgrade ASAP
|
|
![]() |
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 |