Print Page | Close Window

Where is CXTHeaderCtrlThemeOffice2007?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=8364
Printed Date: 24 November 2024 at 5:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Where is CXTHeaderCtrlThemeOffice2007?
Posted By: dcsoft
Subject: Where is CXTHeaderCtrlThemeOffice2007?
Date Posted: 09 October 2007 at 3:17pm

Hello, we are successfully using CXTHeaderCtrlThemeOffice2003 to change our list control headers to the right theme.  But there is no CXTHeaderCtrlThemeOffice2007!  Therefore, it does not seem possible to create header styles looking like, e.g. Outlook 2007.

 
Thanks,
David
 
P.S.  Here is the the way we want the headers to look:
 



Replies:
Posted By: dcsoft
Date Posted: 11 October 2007 at 9:01pm
Is there an ETA on when we can expect the Office2007 theme for the list control headers?  Currently our product is kind of ugly with the gray ones, and my client wants an answer.  Do I have to do it myself?
 
Thanks,
David Ching
Microsoft Visual C++ MVP


Posted By: ijwelch
Date Posted: 11 October 2007 at 10:51pm
I'm using COM version and to get this I just set
ctl.PaintManager.ColumnStyle = xtpColumnOffice2007


(xtpColumnOffice2007 = 4)

Hope this helps.

/edit/

Sorry, I see this is list control (whatever that is!). I was referring to Report control.


Posted By: dcsoft
Date Posted: 16 October 2007 at 1:13pm
Thanks anyway jwelch. I went ahead and created my own implementation of CXTHeaderCtrlThemeOffice2007.  See the link below.  It doesn't handle painting the sort arrows in the right color, and the text color is hard-coded black (it should use the text color of the status bar), but it looks OK for the default blue theme.

CodeJock, please feel free to flesh this out and include it in future releases!
 
 
https://forum.codejock.com/uploads/20071016_131230_xtHeaderCtrlThe.zip - uploads/20071016_131230_xtHeaderCtrlThe.zip
 
 
-- David
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net