Office 2007 Theme |
Post Reply |
Author | |
smis
Newbie Joined: 05 January 2007 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 12 February 2010 at 6:49pm |
Hi
I am unable to set office 2007 Theme to my calendar control. I am using version 13.2. The Error message says to add
#include <Styles/Office2007Black/Office2007Black.rc>to my project rc2 file. The problem is not gone even though I have done that. I am getting Assertion failure. I need to set it to 2007 theme to change the background color of some of the cells of th calendar. The peice of code for doing it.
//Set the Theme To be 2007 CXTPCalendarThemeOffice2007* pTheme2007 = new CXTPCalendarThemeOffice2007();
if (pTheme2007)
{ pTheme2007->SetBeforeDrawFlags(xtpCalendarBeforeDraw_MonthViewDay); } m_CalCtrl.SetTheme(pTheme2007); Thanks
Sudha |
|
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 |