Notes from Daily Encounters with Technology RSS 2.0
 
# Monday, April 14, 2008

The MonthCalendar control's BoldedDates functionality doesn't appear to work properly on Windows Vista. The dates added to any of the BoldedDates, MonthlyBoldedDates and AnnuallyBoldedDates collections are rendered just the same as those not added to any of the collections. The same code works just fine on Windows XP and causes those dates to be rendered bold. The only workaround i've managed to find is disabling visual styles in the application, i.e. commenting out the first line in the Program.Main() method of a new Windows Application:

Application.EnableVisualStyles();

Monday, April 14, 2008 9:54:58 PM (Central European Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Development | .NET
Sponsored Ads

About Me

Damir Arh

Microsoft Certified Professional

View Damir Arh's profile on LinkedIn

Profile for ExAmigan

ExAmigan

Twitter
On my way to Celje today I've seen parhelion (sundog) for the first time http://imgur.com/NssST http://digs.by/dm1TUQ 13 hours ago
How to setup WinMerge as compare tool in Total Commander: http://digs.by/bquumI 2 days ago
Damir's Corner: EventLogTraceListener Can Cause an Application to Crash http://goo.gl/fb/bxEGC 2 days ago
How to debug .NET Framework Source in VS2010 http://digs.by/dr382h 2 days ago
And a list of SQL Server Agent stored procedures for editing data http://digs.by/ch701Z 3 days ago
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

All Content © 2010, Damir Arh, M. Sc. Send mail to the author(s) - Privacy Policy - Sign In
Based on DasBlog theme 'Business' created by Christoph De Baene (delarou)