Re: [perl-win32-gui-hackers] CVS Commit

2003-12-03 Thread Johan Lindstrom
At 22:00 2003-12-02, Laurent ROCHER wrote: # figure out the correct background color # (to avoid the "white background" syndrome on XP) if(not exists $args{-color}) { my($undef, $major, $minor) = Win32::GetOSVersion(); if($major == 5 && $minor > 0) { $args{-color} = Win32::GUI::constant

Re: [perl-win32-gui-hackers] CVS Commit

2003-12-03 Thread Aldo Calpini
Johan Lindstrom wrote: > Maybe it is just me, but the hardcoded $major == 5 (exactly 5) smells a > little bit fragile. heh. I don't know which [EMAIL PROTECTED] will be needed when $major will be 6 :-) but yes, maybe it is safer to assume $major >= 5, thank you. cheers, Aldo __END__ $_=q,just

Re: [perl-win32-gui-hackers] CVS Commit

2003-12-03 Thread Glenn Linderman
So then it really needs to read: if ( $major == 5 && $minor > 0 || $major > 5 ) since Win2k is 5.0 and WinXP is 5.1 and who knows whether the next incompatible upgrade to Windows will be called 5.2 or 6.0 or 8.3 ... On approximately 12/3/2003 6:42 AM, came the following characters from the

Re: [perl-win32-gui-hackers] CVS Commit

2003-12-03 Thread Steve Pick
I will change this in the next commit. Steve - Original Message - From: "Glenn Linderman" <[EMAIL PROTECTED]> To: "Aldo Calpini" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "Johan Lindstrom" <[EMAIL PROTECTED]>; Sent: Wednesday, December 03, 2003 5:14 PM Subject: Re: [perl-win32-gui-ha

Re: [perl-win32-gui-hackers] CVS Commit

2003-12-03 Thread Laurent ROCHER
On my Win98Se (major 4, minor 10). COLOR_BTNFACE+1 and COLOR_WINDOW look to work well. I have a grey background. Laurent > I will change this in the next commit. > > Steve > > > So then it really needs to read: > > > > if ( $major == 5 && $minor > 0 || $major > 5 ) > > > > since Win2k is 5.

[perl-win32-gui-hackers] [CVS Commit]

2003-12-03 Thread Steve Pick
In this exciting installment: Timers are now working in NEM mode. Create timers as normal. The onTimer NEM event is triggered whenever any timer for the window ticks: my $win = new Win32::GUI::Window ( -name => "MainWin", -top => 100, -left => 100, -width => 100, -height => 100, -onTi

[perl-win32-gui-hackers] [CVS Commit]

2003-12-03 Thread Laurent ROCHER
+ [Laurent Rocher] - GUI.pm : Fix -prompt option for TextField, correct color option for class (Win98SE). - GUI_Options.cpp : Correct -popstyle and -popexstyle like options. + [Glenn Linderman] GUI_Options.cpp : Correct menu -enabled option. - Original Message - From: "Steve Pick" <[EMAI

Re: [perl-win32-gui-hackers] [CVS Commit]

2003-12-03 Thread Laurent ROCHER
Sorry, previous mail send unfinish I have commit this : + [Laurent Rocher] - GUI.pm : Fix -prompt option for TextField, correct color option for class (Win98SE). => Correct Label and Textfield position when use -prompt. Add support for -pos and -size options. => For color class, i onl

[perl-win32-gui-hackers] Thank You!

2003-12-03 Thread Jeremy Blonde
I just wanted to send a big "Thank You" to all the Win32 GUI "Hackers". I've been monitoring the mailing list for a long time now and while I'm not currently using Win32-GUI for any projects (although I have in the past), it's wonderful to see the activity after a long dry spell (no offense to Aldo