Print Page | Close Window

urgent problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7738
Printed Date: 13 November 2025 at 7:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: urgent problem
Posted By: terrym
Subject: urgent problem
Date Posted: 05 August 2007 at 8:35am
I am looking at the RibbonSample and it has the following code which in theory shows a text colour selector like in Word 2007, with themes and standard colours etc. however I cannot find where it shows this when I run the example, any help appreciated:
 

m_pItemsFontTextColor = CXTPControlGalleryItems::CreateItems(GetCommandBars(), ID_GALLERY_FONTTEXTCOLOR);

m_pItemsFontTextColor->SetItemSize(CSize(17, 17));

pItem = m_pItemsFontTextColor->AddLabel(0);

pItem->SetCaption(_T("Theme Colors"));

CGalleryItemFontColor::AddThemeColors(m_pItemsFontTextColor, 0);

pItem = m_pItemsFontTextColor->AddLabel(0);

pItem->SetCaption(_T("Standard Colors"));

CGalleryItemFontColor::AddStandardColors(m_pItemsFontTextColor);



-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



Replies:
Posted By: Oleg
Date Posted: 06 August 2007 at 1:27am
Hi,
 
See selector example in Samples\CommandBars\GallerySample


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: terrym
Date Posted: 06 August 2007 at 4:42am

Hi

Cheers ;) all sorted now

 



-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net