From: Rob M. <ro...@th...> - 2009-04-22 18:57:59
|
2009/4/22 Jeremy White <jez...@ho...>: > I vote for adding the XP style request directly to perl.exe - in almost all > cases it's the "correct" thing to do and is easy enough to remove (and > indeed from PerlApp) should you need to. It's also backward compatible so it > wont harm Win 2000 users etc. I think I vote for it too, although I suspect that it'll cause some (minor) layout problems for some people, as I'm not sure that all the control decorations are the same on styled/non-styled controls. Last time I had some time to play (sadly I don't get much of that these days) I was looking at adding a manifest to GUI.dll - it's possible to add a manifest to a DLL and get the version 6 controls for any windows created by that DLL, even if the main APP doesn't have a manifest; however this depends on some stuff that's in the MS headers, and doesn't work with the mingw headers (and hence won't work with cygwin). I have a patch somewhere (but not with me at the moment). There are also some API calls that can be used to turn styling on and off on a per-app and per-window basis, once you've got the v6 controls loaded ..... I haven't yet come up with a suitable strategy for introducing this thought; perhaps adding a v6 manifest to perl.exe will force me to find time to investigate further? I hope to find some time to get back to Win32::GUI development over the summer. Rob. |