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

2004-01-07 Thread #SHUCHI MITTAL#
Hi once again everyone I just started working with Win32::GUI yesterday and was wondering if anyone could tell me how I can do the following: 1/ Make a basic GUI with certain buttons-- I have successfully managed to make this!!:) 2/ Every button click should invoke another perl script -- I

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

2004-01-07 Thread Farrington, Ryan
I think I did kind of the same thing you are looking at. What I had to do was create a child process to handle all my requests. Take a look at Win32::ProcFarm to create and talk with your children processes while having your parent process deal with the interface. Give that a shot =-) I will try

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

2004-01-07 Thread Stephen Pick
Hi, 2/ Every button click should invoke another perl script -- I think I can do this by including the system command in the button click method. If anyone knows any other sophisticated method then pelase tell me You can run your perl scripts using perl's do keyword: do 'myscript.pl';

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

2004-01-07 Thread Farrington, Ryan
Here ya go: All the use's were done to allow for perl2exe to compile it into an application. The code is really really sloppy. =( Also I used guiloft to create the win32::Gui stuff... Way easier.. I would highly recommend it! =-) ---CODE--- #!e:\perl\bin\perl #this is the parent

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

2004-01-07 Thread Farrington, Ryan
I build it with perl2exe as well but that will require a small mod to the parent.pm in procfarm. The change has been submitted to the creator of procfarm but he has not released it. I tested it on XP and NT4 and 2K so as far as I can tell once it is compiled as long as you are calling the lowest

RE: [perl-win32-gui-users] New Hook Method

2004-01-07 Thread Glenn W Munroe
I finally got it to work based on your suggestions. The main problem is that the types of wParam and lParam vary depending on the message, whereas Win32::GUI::SendMessage assumes they are integers. By calling SendMessage via Win32::API, you can tailor the call parameter types to whatever the

RE: [perl-win32-gui-users] New Hook Method

2004-01-07 Thread Johan Lindstrom
At 19:53 2004-01-07, Glenn W Munroe wrote: I finally got it to work based on your suggestions. The main problem is that the types of wParam and lParam vary depending on the message, whereas Win32::GUI::SendMessage assumes they are integers. By calling SendMessage via Win32::API, you can tailor

Re: [perl-win32-gui-users] New Hook Method

2004-01-07 Thread Laurent ROCHER
Hi, I finally got it to work based on your suggestions. The main problem is that the types of wParam and lParam vary depending on the message, whereas Win32::GUI::SendMessage assumes they are integers. It's not more true in 0.0.670. I have add a small change for try to autodetect LPARAM

[perl-win32-gui-users] Re: [perl-win32-gui-hackers] CVS commit

2004-01-07 Thread Glenn Linderman
On approximately 1/7/2004 5:33 PM, came the following characters from the keyboard of Steve Pick: Hi, I've committed the updated hooks code in 665-Fix. See GUI.xs for the documentation for the Hook and UnHook functions. What's new: Hooks work in Old Event Model and New Event Model Thanks.