Re: [perl-win32-gui-users] camel

2007-05-24 Thread Glenn Munroe
Rob, I wasn't sure if you were actively maintaining that module or not, but I'm getting "deprecated usage" warnings because of the 'use Win32::GUI;' line. I imagine that will be easy to fix if you're cracking it open to fix the typo. Cheers, Glenn PS Apologies if this doesn't get posted to the l

Re: [perl-win32-gui-users] camel

2007-05-24 Thread Robert May
On 24/05/07, Geoffrey Spear <[EMAIL PROTECTED]> wrote: > $path = $ENV{PAR_TEMP} . "/inc" if exists $ENV{PAR_TMP}; > > I'd be interested to know if it still works :-) It does, except you've got a typo in the second "PAR_TEMP" that just hurt my brain trying to figure out why $path wasn't getting s

Re: [perl-win32-gui-users] drawing a Polygon

2007-05-24 Thread Robert May
On 24/05/07, George <[EMAIL PROTECTED]> wrote: i am trying to draw a polygon , in the code below wich is adapted from the Draw.pl demo in the win32-Gui package, the program run successfully if we uncomment the line : $DC->Rectangle(100, 100, 300, 200); and comment the line: $DC->Polygon(10, 10,

Re: [perl-win32-gui-users] camel

2007-05-24 Thread Geoffrey Spear
I've always thought that inlining bitmaps was a bit of an ugly solution, but then again I'm primarily a Mac programmer and I'm used to having everything stuck in nice packages for me. I suppose it's nice if you need to distribute .pl files that will be used as executables and you don't want to hav

Re: [perl-win32-gui-users] camel

2007-05-24 Thread erik
Quoting Geoffrey Spear <[EMAIL PROTECTED]>: > The docs at http://cpan.uwinnipeg.ca/htdocs/PAR-Packer/pp.html mention the -a option to add files to the package. -i sets the app's icon, but I'm trying to add an icon to use within my program (as a NotifyIcon). Oddly enough, while the --help opti

Re: [perl-win32-gui-users] camel

2007-05-24 Thread Geoffrey Spear
And then goes on to do something equivalent to: my $file = 'icon.ico'; my $path = '.'; $path = $ENV{PAR_TEMP} . "/inc" if exists $ENV{PAR_TMP}; my $icon = Win32::GUI::Icon->new("$path/$file"); I'd be interested to know if it still works :-) It does, except you've got a typo in the second "PA

[perl-win32-gui-users] drawing a Polygon

2007-05-24 Thread George
hi i am trying to draw a polygon , in the code below wich is adapted from the Draw.pl demo in the win32-Gui package, the program run successfully if we uncomment the line : $DC->Rectangle(100, 100, 300, 200); and comment the line: $DC->Polygon(10, 10, 10, 200, 200, 200, 10, 10); but i