Need help in positioning a label |
Post Reply |
Author | |
Bala
Newbie Joined: 31 January 2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 23 May 2008 at 2:57pm |
Hi,
Using the following code
iCXTPRibbonGroup* pGroup = pTab->AddGroup(ID_AA);
pGroup->SetControlsGrouping(TRUE);
CXTPControl* pComboLabel = pGroup->Add(xtpControlLabel, ID_BB); pComboLabel->SetCaption(csCaption); //....some code to create and populate combo
pGroup->Add(pCombo, nCommandID);
and then
if (pCombo)pCombo->SetBeginGroup(TRUE);CXTPControl* pSaveConfigControl = pGroup->Add(xtpControlButton, ID_CC); if(pSaveConfigControl){ pSaveConfigControl->SetStyle(xtpButtonIcon); pSaveConfigControl->SetBeginGroup(TRUE); } CXTPControl* pUnloadPartControl = pGroup->Add(xtpControlButton, ID_TOOLS_UNLOAD_PART); if(pUnloadPartControl) pUnloadPartControl->SetStyle(xtpButtonIcon);pGroup->ShowOptionButton(); we land up in getting the following display
why is the label "Configuration" looking like a button..what am I missing?How can i fix it?
Reagrds,
Bala
|
|
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 |