CXTPPropertyPatab highlight issue Office2013 white |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 891 |
Post Options
Thanks(0)
Posted: 06 January 2015 at 12:32pm |
When we use Office2013 White command bar theme, our options dialog fails to highlight tabs or color the selected tab. Word 2013 does support both highlighting and selected tab coloring.
Is this a bug in CodeJock or do I need to do something special to get the same functionality we see when using Office2007/2010 themes? |
|
mrmathis
Senior Member Joined: 17 May 2007 Location: United States Status: Offline Points: 105 |
Post Options
Thanks(0)
|
I tracked this down to a call we had in place to set the list style. I think this was put there several years ago to change the hilite style to something the planner liked better. The old call was:
pList->SetListStyle(xtpListBoxOffice2007);
In conjunction with an Office 2013 theme, however, that call eventually turned the control's theme into CXTPListBoxThemeResource, and that doesn't seem to do much to hilite the selected item.
I fixed it with something like this:
XTPListBoxStyle listBoxStyle = xtpListBoxOffice2007;
if (xtpThemeOffice2013 == pMyMainFrame->GetCommandBarsTheme()) listBoxStyle = xtpListBoxOffice2013; pList->SetListStyle(listBoxStyle); It might be nice if CXTPListBoxThemeResource responded better to being used, though.
|
|
--Mike
|
|
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 |