![]() |
CXTColorSelectorCtrl as a toolbar popup |
Post Reply
|
| Author | |
kanitamildasan
Senior Member
Joined: 01 February 2006 Status: Offline Points: 102 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTColorSelectorCtrl as a toolbar popupPosted: 23 February 2006 at 10:21pm |
|
Hi, I am porting XT Stand 1.9.4.0 application to XTPro 8.91 m_wndFormatBar.AddDropDownButton(IDT_FORMATTING_BACKCOLOR, m_FillColor, m_FillColor, CPS_XT_NOFILL|CPS_XT_EXTENDED,TRUE,TRUE); I'm not sure, am i right or not if (lpCreateControl->nID == IDT_FORMATTING_BACKCOLOR && pToolBar->GetBarID() == IDR_FORMATTING_BAR) CXTPControlPopup* pPopupColor = CXTPControlPopup::CreateControlPopup(xtpControlSplitButtonPo pup); CXTPPopupToolBar* pColorBar = CXTPPopupToolBar::CreatePopupToolBar(GetCommandBars()); CXTColorSelectorCtrl pColorPopup; pColorBar->GetControls()->Add(pContr ol, 65431); lpCreateControl->pControl = pPopupColor;
thanks in advance |
|
|
Xtreme ToolkitPro 12.1.1
Win XP (32bit) - SP2 Visual C++ 6.0 SP 6 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 February 2006 at 7:48am |
|
Hello, see CustomThemes or GUI_Office11 samples. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
kanitamildasan
Senior Member
Joined: 01 February 2006 Status: Offline Points: 102 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 February 2006 at 12:33am |
|
Hello, As i have mentioned i am porting older xt to newer xt
so that i'm trying to add CXTColorSelectorCtrl through CXTPControlCustom in commandbar popup
thanks in advance |
|
|
Xtreme ToolkitPro 12.1.1
Win XP (32bit) - SP2 Visual C++ 6.0 SP 6 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 February 2006 at 8:28am |
|
And anyway I recommend you to change it to CXTPControlPopupColor. It will allow user modify/tear off/add/move this control to another toolbar or popup. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
kanitamildasan
Senior Member
Joined: 01 February 2006 Status: Offline Points: 102 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 February 2006 at 10:26pm |
|
Hi, Thanks oleg CXTColorSelectorCtrl works with some probs I’ll try to make it work right otherwise i'll stick with your suggestion |
|
|
Xtreme ToolkitPro 12.1.1
Win XP (32bit) - SP2 Visual C++ 6.0 SP 6 |
|
![]() |
|
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 |