Re: Size of the MonthCalendar
- Posted by andi49 Jun 24, 2013
- 2115 views
hi
What Hell would is this Microsoft ! ? :)
On the other hand, the problem does not occur by running the program with Eu311, even using Windos Seven
Do not have a simple solution, adjusting the EU4? ?
As far as i know this problem is with the Visual Styles that come with WinXP and later.
The EU3.x binaries come without an 'manifest.xml' compiled in to the resources.
So Visual Styles are disabled by default.
The Eu4.x binaries come with Visual Styles enabled by default.
Visual Styles change the appearence of the Controls (make them look nicer, maybe...)
and they olso change the way they are controlled.
You, can proof this if you translate (compile, not bind) your program and check if it works.
If you like to handle them the old way you have the option to built Eu4.x binaries without the 'manifest.xml' resource.
But then your programs may look a little oldfashioned (like with Eu3.x).
My tinewg.exw has a function SetWindowTheme(). With this you can disable Visual Styles for individual Controls.
At least for me it worked for the MonthCalender Control.
You should be able to rip it off tinewg and use it for your program.
Andreas