![]() |
Toolbar customize button.. |
Post Reply ![]() |
Author | |
BobWansink ![]() Groupie ![]() ![]() Joined: 24 January 2008 Status: Offline Points: 59 |
![]() ![]() ![]() ![]() ![]() Posted: 15 April 2009 at 5:22am |
Hi all
I've got the following problem: Our dialogues can generate CXTPCommandBar's on their own. The dialogues add their own buttons, they don't use the LoadMenu function. Dialogues can have several toolbars. Each toolbar is added next to the other, and is located using "xtpBarTop". We use the following code (it's restructured a bit..): CXTPCommandBars * pBars = GetCommandBars(); CXTPToolBar* pToolBarButtons = (CXTPToolBar*) pBars->Add(someID, xtpBarTop); CXTPControls * pControls=pToolBarButtons->GetControls(); for (int q=0;q<pTB->getAantalItems();q++) { ZXTPControlButton * pControlButton=new ZXTPControlButton(tbID,butID,pTBListener); pControls->Add(pControlButton); } pToolBarButtons->ShowExpandButton(FALSE); pToolBarButtons->SetShowGripper(FALSE); pToolBarButtons->SetCloseable(FALSE); pToolBarButtons->SetCustomizeDialogPresent(FALSE); pToolBarButtons->EnableCustomization(FALSE); pBars->EnableCustomization(FALSE); pBars->SetQuickCustomizeMode(FALSE); This results in the following dialogue: Circled in purple is what we think is the customize menu, even though each toolbar is added with : pToolBarButtons->ShowExpandButton(FALSE); pToolBarButtons->SetCustomizeDialogPresent(FALSE); pToolBarButtons->EnableCustomization(FALSE); How do we remove this? Thanks in advance, Bob |
|
Product: Xtreme ToolkitPro (MFC) version 13.0.0
Platform: Windows (32bit) - XP - Vista Language: Visual C++ |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
It doesn't look like Expand button - too large. Mybe you customized standard toolbar class somehow ?
|
|
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 |