[Mono-winforms-list] DateTimePicker patch

George Giolfan georgegiolfan at yahoo.com
Sun Jun 8 04:59:54 EDT 2008

That hard coded value is used by only by ThemeVisualStyles (this is not visible in the first patch since it contains only the changes to DateTimePicker and ThemeWin32Classic; see the one I attached to this message). The behavior when ThemeWin32Classic is used remains the same (I am just refactoring to avoid duplicating code). The VisualStyles API is currently implemented only on Windows XP and later, and does not support rendering the DateTimePicker control on Windows XP. So, at this time, the value is only used on Windows Vista. Other platforms use the classic layout. When new Windows versions are released, or the VisualStyles API is implemented on other platforms, the code that uses the value may have to be updated. If you want, I will change it so that it uses the hard coded value only on the default theme of Windows Vista, and falls back to classic layout for any future Windows versions or different themes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: DateTimePicker full.patch
Type: application/octet-stream
Size: 15814 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080608/9ee18b3c/attachment.obj 

More information about the Mono-winforms-list mailing list