On Wed, 22 Apr 2009, Rob May wrote: > 2009/4/22 Jeremy White <jez_wh...@hotmail.com>: > > 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.
What exactly is the "easy" way to remove the new style common controls from an app that requests them in an embedded MANIFEST? On XP itself you can provide an external perl.exe.manifest that would override the embedded one, but on 2003, Vista, 2008 the embedded one always takes precedence. So you'll need to actually remove the embedded manifest with a tool like mt.exe, but that is only available as part of the Windows Platform SDK, so I would not really call it "trivial". > 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. There are some layout differences, so it will be visible in some apps. > 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). Interesting. I don't quite understand how this would work though, as the names of the controls are registered globally, so I don't see how you could mix old and new style controls inside a single process. > 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? Could you find a link to some documentation about this so I can understand how this is supposed to work? Note that we'll also have to check with e.g. the wxPerl community, and probably others to hear what they think about this. Cheers, -Jan ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users http://perl-win32-gui.sourceforge.net/