![]() |
How to hide popup arrow |
Post Reply ![]() |
Author | |
Сы& ![]() Newbie ![]() Joined: 09 October 2007 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() Posted: 09 October 2007 at 8:10am |
Hi!
Is it possible remove black arrow from toolbar button with popup? (i use CXTPPopupBar) Thanks! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
it is bShowExpandButtonAlways option.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Сы& ![]() Newbie ![]() Joined: 09 October 2007 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
Thanks, but i mean another arrows. I create tollbar CXTPToolBar with 24x24 icons CXTPToolBar* pOperationsBar = (CXTPToolBar*)pCommandBars->Add(_T("Operations"), xtpBarLeft); if (!pOperationsBar || !pOperationsBar->LoadToolBar(IDR_TOOLBAR_OPERATIONS)) { TRACE0("Failed to create toolbar\n"); return -1; } pOperationsBar->EnableDocking(xtpFlagAlignAny|xtpFlagFloating|xtpFlagStretched|xtpFlagHideWrap); in OnCreateControl i adiing popup if (lpCreateControl->nID == ID_UNDO) { CXTPControlPopup* pPopup = new CXTPControlPopup(); CXTPPopupBar* pBar = CXTPPopupToolBar::CreatePopupToolBar(GetCommandBars()); pPopup->SetCommandBar(pBar); .... pBar->GetControls()->Add(pControlCustom); pBar->EnableCustomization(FALSE); pBar->DisableShadow(); pBar->SetBorders(CRect(1, 1, 1, 1)); pBar->InternalRelease(); lpCreateControl->pControl = pPopup; return TRUE; } and my icon ID_UNDO is replaced by arrow ![]() |
|
![]() |
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 |