![]() |
change color |
Post Reply
|
| Author | |
zaozao
Groupie
Joined: 09 February 2009 Location: Japan Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Topic: change colorPosted: 14 July 2009 at 4:30am |
|
Hi.
I make ribbon MDI app with Skin Framework.
I include "SkinFramework\Styles\Office2007\Office2007.rc" in my ***.rc2 file.
And I make control to change GUI color on RibbonBar.
When I changed GUI color, Only one ListCtrl's header in a modal Daialog changed
like XP Style, and its color didn't change.
Other controls changed rightly.
|
|
![]() |
|
zaozao
Groupie
Joined: 09 February 2009 Location: Japan Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 July 2009 at 4:46am |
|
Today I tryed to delete this code.
------------------------------
CXTHeaderCtrl m_header;
HWND hWndHeader = (MyListCtrl).GetDlgItem(0)->GetSafeHwnd();
m_header.SubclassWindow(hWndHeader);
CXTHeaderCtrlTheme* pTheme = m_header.GetTheme();
if(pTheme)
{
DWORD dwStyle = pTheme->GetDrawStyle() & ~XTTHEME_SORTARROW;
dwStyle |= XTTHEME_SORTARROW;
pTheme->SetDrawStyle(dwStyle, &m_header);
m_header.RedrawWindow();
}
------------------------------
So, the header changed rightly.
But I want to display the sort arrow.
So I can't delete it.
Please tell me any antidote.
|
|
![]() |
|
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 |