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

ToolBars + Offic2007

 Post Reply Post Reply
Author
Message
pascal View Drop Down
Groupie
Groupie


Joined: 07 February 2005
Location: Germany
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote pascal Quote  Post ReplyReply Direct Link To This Post Topic: ToolBars + Offic2007
    Posted: 28 August 2006 at 6:59am
Hello,

I use some toolbars nesting combobox controls like the font name and font type. The text of the combo is editable. Well, when I toggle between the theme Office 2003 (or 2000) to office 2007 with ribbon extensions, the combo is not correctly updated. Setting the focus to the combo lets the new style appearing.

my code looks like this:

...

XTPPaintTheme paintTheme = XTPPaintManager()->GetCurrentTheme();
GetCommandBars()->SetTheme(paintTheme);

GetCommandBars()->GetImageManager()->RefreshAll();
GetCommandBars()->RedrawCommandBars();
SendMessage(WM_NCPAINT);

RedrawWindow(0, 0, RDW_ALLCHILDREN|RDW_INVALIDATE);

...


What's wrong?

Thanks for reply, we are releasing in a couple of days


Pascal Verdier
Software Engineer Manager
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.