From: Jeremy W. <jez...@ho...> - 2009-04-22 17:21:02
|
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. Cheers, Jeremy. From: ja...@ac... To: jez...@ho...; ily...@so...; per...@li... 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? Cheers, -Jan From: Jeremy White [mailto:jez...@ho...] Sent: Tuesday, April 21, 2009 9:50 AM To: ily...@so...; per...@li... Subject: Re: [perl-win32-gui-users] XP styles support -- when? Hi, 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... Cheers, Jeremy. Date: Tue, 21 Apr 2009 19:28:57 +0400 From: Ily...@so... To: per...@li... 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! Regards, Ilya ========================================================= Ce message et toutes les pieces jointes (ci-apres le "message")sont confidentiels et susceptibles de contenir des informationscouvertes par le secret professionnel. Ce message est etablia l'intention exclusive de ses destinataires. Toute utilisationou diffusion non autorisee interdite.Tout message electronique est susceptible d'alteration. La SOCIETE GENERALEet ses filiales declinent toute responsabilite au titre de ce messages'il a ete altere, deforme falsifie. ========================================================= This message and any attachments (the "message") are confidential,intended solely for the addressees, and may contain legally privilegedinformation. Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor anyof its subsidiaries or affiliates shall be liable for the messageif altered, changed or falsified. ========================================================= Surfing the web just got more rewarding. Download the New Internet Explorer 8 _________________________________________________________________ View your Twitter and Flickr updates from one place – Learn more! http://clk.atdmt.com/UKM/go/137984870/direct/01/ |