Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Monthview dimensions
Message
De
31/03/2008 15:13:25
 
 
À
31/03/2008 06:59:47
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01306880
Message ID:
01307097
Vues:
9
>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.asp

As 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform