Question MonthCalendar Control - Cant set colors?

ghardy

Member
Joined
Mar 18, 2010
Messages
20
Programming Experience
10+
Hi all,

I am using a monthcalendar control in my application to allow a user to select a day from the calendar that will load data for that day.

the background is totally white (ugh). there is a backcolor property, but when i set it to say Cyan (yea right), the calendar still displays as white. I also can not set Forecolor, TitleBack/Fore color either.

I have gone to my project properties and turned off the "enable xp visual styles", and that had no effect. turned it back on...cant tell a difference.

i am currently on windows 7 running VS2008 Team Edition. It would be really nice to change the look of this control to match the styling of my application.

any help would be appreciated.

george
 

RonnieF

New member
Joined
Apr 21, 2011
Messages
1
Programming Experience
10+
George,
I have the same problem. However, when I compile the program and run it on an XP machine the colour changes can be seen. Does anyone know what is causing this behaviour within Windows 7?

Ronnie F
 
Top Bottom