>Hi All,
>
>I have a problem with the Monthview ocx.
>It looks like the with of the ocx will be larger if the ocx is running in english then in german (depends on the OS).
>I would like to scale it to the right size, but I have no idea what to do. (How to get integralheight?)
>
>TIA
>Agnes
The monthcalendar control has a different size in Win98, 2000, XP and Vista. Total madness from my point of view.
Check this draft research page I did for a calendar class, it shows pictures of the calendar in all OS, with and without themes:
http://www.ctl32.com.ar/ctl32_calendar_pics.aspAs you see, the calendar in Windows Vista w/Classic theme is butt ugly, and I think they did it on purpose.
You can get the size of the calendar by sending a MCM_SIZERECTTOMIN message to the calendar window, check here:
http://msdn2.microsoft.com/en-us/library/bb761020(VS.85).aspx (the link parser leaves out the end of the url, copy and paste it in the browser)
If you need help with that, just ask, I will dig up my unfinished calendar class and look it up.
Carlos