ANNOUNCE: Win32::VisualStyles V0.02

2009-07-14 Thread Robert May
All, Back in May there was a discussion on this list about Visual Styles (aka XP Styles). Up to now we have been coping with applying style by copying a manifest file into the perl bin directory. This is unsatisfactory for a number of reasons. (1) It is difficult to make this work when packing

Re: Producing a notification window over icon region

2008-11-09 Thread Robert May
2008/10/15 Andrew Black [EMAIL PROTECTED]: I would like to produce a noticification window - in the same way as programs like Outlook do when new mail comes in. Is this possible with Perl or should I be looking for another tool. My first attempt is perl -MWin32 -e sleep(10);

Re: rsync for Win32

2008-03-10 Thread Robert May
On 10/03/2008, Sisyphus [EMAIL PROTECTED] wrote: But, afaict from 'perldoc perlhack', if I want to stay in touch with the current perl developments I need to be able to download the latest source by running: rsync -avz rsync://public.activestate.com/perl-current/ Only problem is .. I'm

Re: Registerhotkey() Using Win32 API and GUI

2007-11-10 Thread Robert May
On 24/09/2007, Veli-Pekka Tätilä [EMAIL PROTECTED] wrote: Robert May wrote: Has anyone gotten the system wide RegisterHotkey and UnrEgister hotkey Win32 functions working with Win32::GUI and Win32::API? See here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg05248.html Now the only big

Re: Registerhotkey() Using Win32 API and GUI

2007-09-24 Thread Robert May
On 23/09/2007, Veli-Pekka Tätilä [EMAIL PROTECTED] wrote: Hi, Has anyone gotten the system wide RegisterHotkey and UnrEgister hotkey Win32 functions working with Win32::GUI and Win32::API? See here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg05248.html Regards, Rob. I just tried

Re: Perl Help - Addlabel

2007-08-26 Thread Robert May
On 24/08/07, TR Thomas Rundo (8373) [EMAIL PROTECTED] wrote: The problem I am having is that as I am adding (AddLabel) labels onto the window unless I have a messagebox popup to stop the app and wait for user input, you won't see the Add Labels. I have a messagebox at the very end that will

Re: [perl-win32] RE: Win32::Printer - Multiple Line Output

2006-06-08 Thread Robert May
Try using 'Draw Mode' (DM) rather than 'String Mode' (SM) - that means using the $height = $dc-Write($text, $x, $y, $width, $height, [$format, [$tab_stop]]); form of the Write() call. Rob. Jack D. wrote: -Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED] Sent: June

Re: [perl-win32] Re: Win32::Printer - Multiple Line Output

2006-06-08 Thread Robert May
$Bill Luebkert wrote: Timothy Johnson wrote: Maybe try /r/f instead of /r/n? I'd just use \n which should be output as \r\n if you haven't use binmode. I doubt it. The Win32::Printer::Write() method calls the Win32 API directly (TextOut() OR DrawText()). There's no PerlIO layers

Re: [perl-win32] Re: The Command Prompt encoding

2006-05-26 Thread Robert May
this info programatically in perl using Win32::Console, which you should do, as you have no guarantee that any particular console is actually using cp850. C:\WINDOWSperl -MWin32::Console -e print Win32::Console::OutputCP() 850 Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32

Re: [perl-win32] Re: Tk beep on Win2K?

2006-05-01 Thread Robert May
Lyle Kopnicky wrote: $Bill Luebkert wrote: [snipped stuff about using an ICA session and not getting beeps] Apparently what you need to do is get the PC or whatever you are logging in from to generate the beep rather than the MB speaker. I can do that, by typing ^G in the console and

Re: [aswin32] Re: Possible DynaLoader or MinGW bug?

2006-03-24 Thread Robert May
Sisyphus wrote: - Original Message - From: Robert May . . Steps to invoke problem: (1) run: h2xs -A -n SomeModule (2) cd into the created SomeModule directory (3) run the incantation: perl -MConfig_m Makefile.PL nmake nmake test Generally this works fine

Re: [aswin32] Re: Possible DynaLoader or MinGW bug?

2006-03-24 Thread Robert May
Robert May wrote: [possible bug with either mingw or DynaLoader under win98, narrowed down to a mingw bug] Now I just need to find out what the difference is between the 2 dll's. MS's Dependency walker (Depends.exe, comes with the platform SDK) loads both fine, and doesn't reveal anything

Re: [aswin32] Re: Possible DynaLoader or MinGW bug?

2006-03-24 Thread Robert May
Sisyphus wrote: - Original Message - From: Robert May . . A series of tests: Drop - ok DropF - fails AropF - fails DropFi- fails DropFile - fails DropFiles - fails DropX - fails DropFx- fails DropFilesx- fails xDropFiles

Possible DynaLoader or MinGW bug?

2006-03-23 Thread Robert May
think in more likely to be a MinGW issue, but I'd like to be able to build with MinGW without choosing a different module name. Any suggestions on where to go next appreciated. Thanks for your time. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http

Re: [aswin32] RE: Perl Bug (again)

2006-02-18 Thread Robert May
is likely to go into 5.9.1, even if it's made lighter afterwards. /quote I has been discussed on p5p more recently (in the last few months) but I can't quickly turn p a reference. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32

Re: [aswin32] RE: Perl Bug (again)

2006-02-17 Thread Robert May
John Deighan wrote: At 01:06 PM 2/17/2006, Joe Discenza wrote: Fascinating! You have one misconception right off: The my line is never executed (not even to make the new variables) if $L is false. OK, then, consider this program. Notice that there's a global $i which has the value 5. Now,

Re: [aswin32] Ok with perl 5.8.3 on win2000, nok with perl 5.8.7 on winXP

2006-02-14 Thread Robert May
might be going on, but I hope this helps. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/ ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com

Re: [aswin32] Win32::GUI: How do I use a splitter (window frames)

2006-02-07 Thread Robert May
I posted this example to the list not that long ago. I've since corrected it so that it doesn't leave ugly lines all over the place. Regards, Rob. #!perl -w use strict; use warnings; use Win32::GUI; my $mw = Win32::GUI::Window-new( -title = Splitter Test, -pos = [100,100],

Re: [aswin32] using MS Excel grid

2006-01-01 Thread Robert May
- it should be able to host any ActiveX capable application. Get it from: http://rocherl.club.fr/Win32GUI.html#AxWindow Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/ ___ Perl

Re: [aswin32] Re: How to disable a control without changing appearance

2005-12-18 Thread Robert May
Lynn. Rickards wrote: Chris Rogers wrote: I'm looking for a way to disable a control (widget) without changing it's appearance. I would like to be able to do this for any type of control. Any help would be greatly appreciated. Thanks, Chris Tk? Win32? Either way, what comes to mind

Re: [aswin32] MDI Windows and Icons

2005-12-16 Thread Robert May
a complete but minimal example showing your problem is preferable so that it's quick and easy to run it, and so that we don't have to work out what else we need to add in order to get your code to run. Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl

Re: [aswin32] console echo

2005-12-04 Thread Robert May
$char = ReadKey(0); print $char; } ReadMode(0); # Reset tty mode before exiting exit(0) __END__ Regards, Rob. -- Robert May Win32::GUI, a perl extension for native Win32 applications http://perl-win32-gui.sourceforge.net/ ___ Perl-Win32-Users

Re: [aswin32] I am using **split** incorrectly?

2005-11-06 Thread Robert May
Alejandro Santillan Iturres wrote: [snip] $textcomplete=Mary has a little lamb\nMary has a little lamb which is black!; $i=0; @textinlines=split(/\n/,$textcomplete); foreach(@textinlines){ print $i:$textinlines[$i]\n; @textinchars=split(//,$textinlines[$i]); foreach(@textinchars){print

Re: [aswin32] Re: Need help with Perl GUI

2005-08-03 Thread Robert May
Jaime Teng wrote: Too bad win32::GUI does not have much documentations as well. Does anyone have a good win32::gui website or book even? What exists as formal documentation for Win32:GUI is available (as of yesterday) at http://perl-win32-gui.sourceforge.net/ We're actively working on

Re: [aswin32] Creating a grid control

2005-08-03 Thread Robert May
Octavian Rasnita wrote: Does anyone know if it is possible to create a grid control which is accessible using the keyboard only (no mouse)? I have tried a few examples from the Win32::GUI::Grid package, but I could select a cell only by using the mouse, but I would like to have a grid in which I

Re: [aswin32] RE: creating a combo box

2005-08-01 Thread Robert May
Peter Eisengrein wrote: Hi, Sorry for my previous message. I have discovered that I was using an older version of Win32::GUI that was installed using ppm, but now after installing it from cpan.org, it works fine. Nevertheless, the problem is that the Dialog was missing the -name parameter.

Re: creating a combo box

2005-07-27 Thread Robert May
Hi, There are 3 different types of combobox - see MSDN for details: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/comboboxes/comboboxes.asp Two of the types include the selected item in an edit control, whose default behaviour is to use home/end to

Re: [aswin32] Re: RE: How to find the perl install directory?

2005-07-13 Thread Robert May
Anything wrong with: #!perl -w use strict; use warnings; use Config; print $Config{prefix} . \n; print $Config{prefixexp} . \n; # fully expanded version of above (probably # the same in Win32) exit(0); __END__ Regards, Rob. [EMAIL PROTECTED] wrote:

ANNOUNCE: Win32::GUI v1.02

2005-07-11 Thread Robert May
I am please to announce that v1.02 of Win32::GUI is available for download from SourceForge. Win32::GUI is a Perl extension allowing creation of native Win32 GUI applications. Project summary and download: http://sourceforge.net/projects/perl-win32-gui/ Release notes: