Re: [perl-win32-gui-users] Avoiding applications hanging?

2004-01-15 Thread Steve Pick
Hi Nigel, You need select()! It's the best thing in the world (honest). The following routine will check for activity on the socket "MYSOCKET" (you can change this, if you want to pass a socket as an argument, just use scalars instead of barewords for socket handles, and pass the socket like a no

[perl-win32-gui-users] Yet Another CVS Commit...

2004-01-15 Thread Steve Pick
Hello, me again... Since some people mentioned window scrollbars in the list a while back, I decided to implement some functions to make them actually work. I've also added the relevant constants for scrollbars and statusbars, fixed the bug with $window->Result(x) (thanks to Glenn Linderman), and

[perl-win32-gui-users] (no subject)

2004-01-15 Thread Glenn W Munroe
I've been doing a lot of work with listviews recently. I was pretty sure I'd identified a bug with the Select method, but can't reproduce it any more. While looking at that I added some functionality to my own copy of Listview.xs: Select(-1) to select all items in the list and an additional Deselec

RE: [perl-win32-gui-users] Avoiding applications hanging?

2004-01-15 Thread Peter Eisengrein
You can do this a number of ways. In order to allow a user to close the Icon and thus the app, you need to call Win32::GUI::Dialog, right. You can each launch the code to run in the background two ways: 1- have a button or something else on the Window to start it, or 2- use the Timer method to get

Re: [perl-win32-gui-users] Avoiding applications hanging?

2004-01-15 Thread Johan Lindstrom
At 18:16 2004-01-15, Nigel Cannings wrote: Is there any way to display the icon, but allow the main application to carry on doing its thing in the background (my application is listening for a socket connection) There are a couple of ways to do this: 1. Run your application in the spare time.

RE: [perl-win32-gui-users] Wierdness with HyperLink

2004-01-15 Thread Frazier, Joe Jr
Thanks Johan, that did it. Joe Frazier, Jr. Technical Support Engineer Peopleclick Service Support Tel: +1-800-841-2365 E-Mail: mailto:[EMAIL PROTECTED] > -Original Message- > From: Johan Lindstrom [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 15, 2004 3:36 PM > To: perl-win32-

RE: [perl-win32-gui-users] Wierdness with HyperLink

2004-01-15 Thread Johan Lindstrom
At 19:57 2004-01-15, Frazier, Joe Jr wrote: Problem 2 is even more wierd. When I run the exact same code with "use Win32::GUI::Loft::Design;", the link does not show up (this is striped down version of a large app) at all! The problem seems to be that $linkClass does not get defined, so the li

Re: [perl-win32-gui-users] GUI loft crashes

2004-01-15 Thread Johan Lindstrom
Sirisha wrote: I am keen to get started using GUILoft but I'm running into some difficulty installing it on my XP machine. At 13:59 2004-01-15, Stephen Pick wrote: I just got the latest version of TGL, and it won't start. Tries to read memory at 0x000. This problem is something I commonly

RE: [perl-win32-gui-users] Wierdness with HyperLink

2004-01-15 Thread Frazier, Joe Jr
I just upgraded both Win32::GUI and TGL. I just noticed that I get errors on some properties in the window object: D:\working\PCWORKFLOW42>d:\gui10.pl Argument "maximizebox" isn't numeric in subtraction (-) at D:\gui10.pl line 24. Argument "" isn't numeric in subtraction (-) at D:\gui10.pl line

Re: [perl-win32-gui-users] Avoiding applications hanging?

2004-01-15 Thread Jez White
Hi, If you want your icon to interact with the user you have to enter the dialogue phase at some point. I assume the you are waiting on the socket for a reply? If that is the case, then the solution is not straightforward, unless you use threads (one thread doing the sockets, with the other deali

[perl-win32-gui-users] Avoiding applications hanging?

2004-01-15 Thread Nigel Cannings
hi there I have a console application, that I want to have show an icon on the status bar - This is no problem with Win32::GUI::Icon. However, I do not want the application to hang, waiting for an event from the (hidden) window - Really the icon is there to show the console app is running, and al

[perl-win32-gui-users] Axwindow refresh

2004-01-15 Thread Chris Whiting
I am using Win32::GUI::AxWindow with a mediaplayer control within a Perl/Tk application. I 'Show' the window and do not issue the Win32::GUI::Dialog(); It works surprisingly well. My only problems are: While I can hide the window, I cannot destroy it (but I can live without this). I cannot plac

Re: [perl-win32-gui-users] GUI loft crashes

2004-01-15 Thread Jez White
For what it's worth, I've downloaded the latest version of Loft, and it runs fine. I'm on XP pro. - Original Message - From: "Johan Lindstrom" <[EMAIL PROTECTED]> To: Sent: Thursday, January 15, 2004 2:29 PM Subject: Re: [perl-win32-gui-users] GUI loft crashes > At 13:59 2004-01-15, S

RE: [perl-win32-gui-users] GUI loft crashes

2004-01-15 Thread Stephen Pick
Windows 2000, SP 4. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Johan Lindstrom > Sent: 15 January 2004 14:29 > To: perl-win32-gui-users@lists.sourceforge.net > Subject: Re: [perl-win32-gui-users] GUI loft crashes > > > At 13:59 2004-01-15, Ste

Re: [perl-win32-gui-users] GUI loft crashes

2004-01-15 Thread Johan Lindstrom
At 13:59 2004-01-15, Stephen Pick wrote: I just got the latest version of TGL, and it won't start. Tries to read memory at 0x000. This problem is something I commonly associate with missing files given to imagelists, bitmaps, etc. Or maybe PAR is to blame. Which OS? I've had one report (wh

[perl-win32-gui-users] Outlook email question...

2004-01-15 Thread angelo . magnone
Does anyone have any sample code demonstrating how to move or copy email messages from one folder to another using CDO. Thanks. This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and

[perl-win32-gui-users] GUI loft crashes

2004-01-15 Thread Stephen Pick
I just got the latest version of TGL, and it won't start. Tries to read memory at 0x000. This problem is something I commonly associate with missing files given to imagelists, bitmaps, etc. Or maybe PAR is to blame. Steve. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAI

RE: [perl-win32-gui-users] Win32::GUI

2004-01-15 Thread Stephen Pick
Use ppm (programmers package manager) with activeperl. Type "ppm" at a command prompt, then type "help" for instructions. If you prefer to use CPAN (comprehensive perl archive network) to install modules/packages (often more are available here) you can use: perl -MCPAN -e shell then at the "cpan

Re: [perl-win32-gui-users] Win32::GUI

2004-01-15 Thread Jez White
Hi, Then these are the steps I follow: Download the lastest version of Win32::GUI from the sourceforge website. When you've downloaded the file and opened the zip you should see the following files: Win32-GUI-tar.gz Win32-GUI.ppd readme.txt Extract the files into a directory (in my case C:\dev

RE: [perl-win32-gui-users] another newbie question...

2004-01-15 Thread Stephen Pick
I would recommend looking into The GUI Loft - It's a WYSIWYG gui creator for use with the Win32::GUI perl module. Johan seems to have been busy updating it too :) Link: http://www.bahnhof.se/~johanl/perl/Loft/ Steve > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECT

[perl-win32-gui-users] Win32::GUI

2004-01-15 Thread mayank prakash
Hi all, Can anyone tell me how to install perl modules; the complete process? I have installed ActiveState ActivePerl 5.8 in my Windows 2000 machine. Mayank. _ Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74

[perl-win32-gui-users] another newbie question...

2004-01-15 Thread Sirisha Gollapudi
Hi all, after some difficulty I managed to get Win32::GUI up and running - being pretty new to this I was wondering if anyone could help with another query. I have a fully functional perl program that at the moment is just a simple command line interface. what's the process for turning this in

[perl-win32-gui-users] Rebar control take 2

2004-01-15 Thread Jez White
Hi, I've been playing with the rebar control. The following code creates a rebar, with 3 bands. Band 1 and 3 are empty, with just an text string. Band 2 has a child of a window, which contains a datatime control and 2 buttons. Visually, everything seems to work. However interacting with the con