On 16/07/2013 09:28, Mike Williams wrote:
> On 15/07/2013 22:19, Andre Sihera wrote:
>>
>> Actually, come to think of it, the best logical place to start looking
>> would be at
>> any window size or decoration calculations that *don't* use
>> GetSystemMetrics().
>>
>> Cheers,
>
> Thanks for all the pointers I have received. I hope to be able to start
> looking at it later on today.
Hacking around with the system metrics I can solve the problem. However
it does raise a new one - it requires a build with WINVER set to 0x0600.
The down side is that executables wont then run on XP or earlier
versions of Windows.
An alternative approach is to build VIM with the v110_xp toolset. This
should cause the existing code to get the same metrics as it does with
VS2010. The thing to note is that by default VS2012 builds don't work
on XP, and certainly wont on Win2k which VIM has supported to date.
Something is gonna have to give or there a going to be problems with
users not knowing which platforms their downloaded Windows executable
will run. Should we cast Win2K support adrift, possibly kept as a
optional build for those that know what they are doing? Should we not
support VS2012 builds at all (you can still get VS2010 Express downloads
but no idea for how much longer with 2013 on the horizon)? Should VIM
report the Windows compiler used to help with support calls along the
lines of "VIM wont start on Windows"? Should VIM move to multiple
builds for Windows for the older versions?
Lights blue touch paper, retires to normal day work ...
Mike
--
There you go thinking again!