CXTPControlLabel skinning problem |
Post Reply |
Author | |
mojonez
Groupie Joined: 16 September 2008 Status: Offline Points: 17 |
Post Options
Thanks(0)
Posted: 18 January 2012 at 2:57pm |
Hey folks,
I have a command bar, created as such: CXTPPopupBar* pPopupBar = CXTPPopupBar::CreatePopupBar(0); pop->SetCommandBar(pPopupBar); pControl = pop->GetCommandBar()->GetControls()->Add(new CXTPControlLabel(), 0); My application uses a custom skin created with the SkinBuilder. The command bar skins correctly. I would like to set a unique bg color to the CXTPControlLabel, different from the standard button entries, but the theme does not seem to support this. If i derive my own paint manager from the office theme CXTPOfficeTheme, then I can ovveride the drawpopuplabel, or just set m_arrColor[XPCOLOR_LABEL], but then them does not respect the rest of the CJ skin i created. If i derive my own paint manager from CXTPNativeXPTheme, then the skin is respected, but there's no hook for intercepting or changing the labels BG color to be different from normal button entries. Any ideas? thx Morgan |
|
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 |