[perl-win32-gui-users] multiline Textfield

2005-12-29 Thread Octavian Rasnita
Hi, I am trying to create a multiline textfield on a window that has the -dialogui option set but the big problem is that I cannot move the focus out of that window by pressing the tab key. I have tried to use the onKeyDown, onKeyUp, onChar events and GetKeyboardState method to trap the tab and s

Re: [perl-win32-gui-users] multiline Textfield

2005-12-29 Thread Octavian Rasnita
Ok, I have finally solved the problem. Teddy - Original Message - From: "Octavian Rasnita" <[EMAIL PROTECTED]> To: Sent: Thursday, December 29, 2005 12:57 PM Subject: [perl-win32-gui-users] multiline Textfield > Hi, > > I am trying to create a multiline textfield on a window that has

RE: [perl-win32-gui-users] multiline Textfield

2005-12-29 Thread Plum, Jason
Would you plz share the resolution with the group? It helps when people search the archive looking for an answer toa problem they are having and actually find it :p Jason P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Octavian Rasnita Sent: Thursday,

Re: [perl-win32-gui-users] multiline Textfield

2005-12-29 Thread Octavian Rasnita
Ok, sorry. The solution was simple. I just needed to add: return 1; at the end of the event handler function. I have read that if the event handler returns -1, the program terminates (I knew that), but I also found that if it returns 0 the event will be stopped and if it returns 1, it will be pa

RE: [perl-win32-gui-users] TrackMouse and MouseX methodology: addt

2005-12-29 Thread Plum, Jason
OK! Problem sorted out, notes following... TrackMouse does not make the events fire continuously until UnTrackMouse is called, but rather has them fire once, then needs to be called AGAIN after each event firing to make it function properly! SO: $w->Hook(WM_MOUSEHOVER, \&mouseHov

[perl-win32-gui-users] Button bitmap and icons

2005-12-29 Thread Joseph . Vieira
Hello, I'm a little confused about how to add a bitmap to a button or create one as an icon. I want to create a button with a picture of a printer on it, like you see in a word processing program. Also a button with internet explorer icon on it, or any other program's icon. I can't find an e

RE: [perl-win32-gui-users] Button bitmap and icons

2005-12-29 Thread Plum, Jason
My $ico = new Win32::GUI::Icon( [EMAIL PROTECTED]); then in the button, -icon => $ico Jason P From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, December 29, 2005 3:05 PM To: perl-win32-gui-users@lists.so

RE: [perl-win32-gui-users] Button bitmap and icons

2005-12-29 Thread Joseph . Vieira
Jason, I got the same result Joe "Plum, Jason" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/29/2005 03:34 PM To cc Subject RE: [perl-win32-gui-users] Button bitmap and icons My $ico = new Win32::GUI::Icon( [EMAIL PROTECTED]); then in the button, -icon => $ico Jason P F

RE: [perl-win32-gui-users] Button bitmap and icons

2005-12-29 Thread Plum, Jason
Give me a bit here and I'll whip up a full demo for you, I've got a program at home that's running with like, 50 icons. Jason P From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, December 29, 2005 4:22 PM To: pe

RE: [perl-win32-gui-users] Button bitmap and icons

2005-12-29 Thread Johan Lindstr�m
At 21:34 2005-12-29, Plum, Jason wrote: My $ico = new Win32::GUI::Icon( [EMAIL PROTECTED]); then in the button, -icon => $ico Make sure the $ico variable is in scope for the lifetime of the dialog. The easiest way to do that is to put it in a global (replace "my" with "our" in this case, or p

Re: [perl-win32-gui-users] PerlApp issue

2005-12-29 Thread Igor Anufriyenko
Brian, I have tried fork(), threads, Thread - none of them work. So far opening a pipe for reading open (CM,"gpresult |" ) and system() function proved to work in uncompiled script. The latter is quite interesting since it does a hidden fork() for you. All what I am trying to achieve is running

RE: [perl-win32-gui-users] PerlApp issue

2005-12-29 Thread Brian Millham
If you can give me a code sample, I can try it on my system (W2K) and compile it with Perl2Exe. Brian Millham This message traveled at least 44,000 miles to reach you! Creator of the DW6000 Monitor http://www.millham.net/dw6000 [EMAIL PROTECTED] -Original Message- From: Igor Anufriyen

RE: [perl-win32-gui-users] PerlApp issue

2005-12-29 Thread Brian Millham
I haven't played with threads while using Win32::GUI. I have created a fairly complicated perl based service that used threads, so I'd be willing to help you out with this one. Supply me with a sample script (with animation files attached) and I'll see if I can get a threaded version running.

Re: [perl-win32-gui-users] PerlApp issue

2005-12-29 Thread Igor Anufriyenko
Brian, Thanks for the offer. Will send as soon as I get to my Production box. Meanwhile, I have found message from Johan Lindstrom with multi-threaded version of his FetchURL demo. Blair Sutton posted info about working M-T model which uses Thread::Queue module to make a queue sub before Dialo