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.



From: jand@activestate.com
To: jez_white@hotmail.com; ilya.bandorin@socgen.com; perl-win32-gui-users@lists.sourceforge.net
Subject: RE: [perl-win32-gui-users] XP styles support -- when?
Date: Tue, 21 Apr 2009 15:16:37 -0700

Do you guys (users of Win32-GUI) have an opinion of perl.exe always requesting XP style controls?


I think perl.exe needs an embedded manifest to properly specify the requested elevation level on Windows Vista and later.  Once that happens it will no longer be possible to request XP style controls simply by putting a manifest into perl.exe.manifest because the mebedded manifest will take precedence.


So what do you think, should perl.exe in that case request the XP style controls or not?





From: Jeremy White [mailto:jez_white@hotmail.com]
Sent: Tuesday, April 21, 2009 9:50 AM
To: ilya.bandorin@socgen.com; perl-win32-gui-users@lists.sourceforge.net
Subject: Re: [perl-win32-gui-users] XP styles support -- when?




XP styles (as I understand it) is a separate "thing" from Win32::GUI and is controlled by a manifest file. This manifest file is included inside the exe by PerlApp. If you have a manifest file for Perl itself you'll get XP styles when you run your app via perl. Have a search on this list on how to do that (its simple - but I dont have the details to hand).


As for the tabstrip, I have seen this in the past and I've never found a solution to it (again, I dont think it's a Win32::GUI thing). The way I have got around this is to have a grey child window covering the while background, and add the controls to the child window. Works well...






Date: Tue, 21 Apr 2009 19:28:57 +0400
From: Ilya.Bandorin@socgen.com
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] XP styles support -- when?

Hello to everybody!


I'm just interested if dear developers have any plans to introduce XP styles support to Win32::GUI?

Being compiled with ActiveState's PerlApp the application runs with XP styles but tabstrip control drives me crazy because all other controls being placed on the tabstrip still have gray background while the tabstrip's background is different (white). Are there any _correct_ way to determine if XP styles are active and draw controls correctly?


Thank you in advance!






Ce message et toutes les pieces jointes (ci-apres le "message")
sont confidentiels et susceptibles de contenir des informations
couvertes par le secret professionnel. Ce message est etabli
a l'intention exclusive de ses destinataires. Toute utilisation
ou diffusion non autorisee interdite.
Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE
et ses filiales declinent toute responsabilite au titre de ce message
s'il a ete altere, deforme falsifie.
This message and any attachments (the "message") are confidential,
intended solely for the addressees, and may contain legally privileged
information. Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any
of its subsidiaries or affiliates shall be liable for the message
if altered, changed or falsified.


Surfing the web just got more rewarding. Download the New Internet Explorer 8

Windows Live Messenger just got better. Find out more!