Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - urgent problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

urgent problem

 Post Reply Post Reply
Author
Message Reverse Sort Order
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: urgent problem
    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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2007 at 1:27am
Hi,
 
See selector example in Samples\CommandBars\GallerySample
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.