Re: [perl-win32-gui-users] DOS Window minimized?

2006-04-05 Thread Roger Mayfield
I know you can test if a Win32::GUI window has been minimized, but can you run a sub if a DOS window has been minimized? Roger Mayfield ok, I found a method within the Win32::GUI called IsVisible to test whether the window is visible or not, but this means whether the window is hidden or not

[perl-win32-gui-users] how to make a MessageBox the top most dialog ?

2006-04-05 Thread oohayf oohayl
hello, is there a way to make a MessageBox the top most dialog while looking for some win32 window ? ... @error=WaitWindowLike( $parent, $title, $class); if ([EMAIL PROTECTED]) { $MainWin->MessageBox ("Error", "MsgTitle", 0+48); # how to make this message the top most dialog ??? } ...

Re: [perl-win32-gui-users] Enter key to move between text fields

2006-04-05 Thread Scott Spearman
Ignore my last message, I did in fact do something stupid! I think I got it figured out, but I'll probably have more questions later.

Re: [perl-win32-gui-users] Enter key to move between text fields

2006-04-05 Thread Scott Spearman
I tried to modify some code I found on the list to do the key trapping, but my text fields don't seem to fire KeyDown events, as near as I can tell. I'm hoping someone can tell me what stupid mistake I'm making in this code: $bc = $confwin->AddTextfield( -name=>"bc", -password=>0, -prompt => [

RE: [perl-win32-gui-users] Window's Explorer over VPN

2006-04-05 Thread Jeremy White
I've looked at several Window's Explorer replacements to see if they might be faster, but they really aren't and I suspect that much of that is due to them using the same underlying Windows OS functions as Explorer does. I can CD and DIR with blazzing speed at a DOS prompt, but the GUI's are too s

Re: [perl-win32-gui-users] DOS Window minimized?

2006-04-05 Thread Roger Mayfield
Jeremy White wrote: I know you can test if a Win32::GUI window has been minimized, but can you run a sub if a DOS window has been minimized? Yes. If you want to "remove" the DOS window during development of a script, you can run it via the command wperl rather than with the command perl.

RE: [perl-win32-gui-users] DOS Window minimized?

2006-04-05 Thread Jeremy White
I know you can test if a Win32::GUI window has been minimized, but can you run a sub if a DOS window has been minimized? Yes. If you want to "remove" the DOS window during development of a script, you can run it via the command wperl rather than with the command perl. Cheers, jez.

[perl-win32-gui-users] Window's Explorer over VPN

2006-04-05 Thread Greg Dance
I've looked on the web for something without finding it and was thinking of doing it myself but didn't want to re-invent the wheel: I work remotely and have a very fast internet connection, but Window's explorer requests so much un-necessary garbage that it is very, very slow when looking at drive

Re: [perl-win32-gui-users] window freezes when connecting to IRC

2006-04-05 Thread Jeremy White
How do you search the mailing list? That little info could prove VERY useful. http://sourceforge.net/mailarchive/forum.php?forum_id=3220 Cheers, jez.

Re: [perl-win32-gui-users] window freezes when connecting to IRC

2006-04-05 Thread Roger Mayfield
Make sure you have a modern Perl - 5.8.7 is good. There are a couple of tutorials in the documentation to get you started - but expect a learning curve - thread programming can be a right pain. Once you've got a handle on the basics, search this mailing list for GUI thread examples. How do yo

[perl-win32-gui-users] DOS Window minimized?

2006-04-05 Thread Roger Mayfield
I know you can test if a Win32::GUI window has been minimized, but can you run a sub if a DOS window has been minimized? Roger Mayfield

Re: [perl-win32-gui-users] window freezes when connecting to IRC

2006-04-05 Thread Jeremy White
yes, you are right, Net::IRC is blocking, even though the documentation says that do_one_loop allows it to work with other event based loops like Tk. Considering I'm a newbie, I have no idea where to begin using threads or processes. My program will need to share data with the IRC thread, so I

Re: [perl-win32-gui-users] window freezes when connecting to IRC

2006-04-05 Thread Roger Mayfield
Assuming there is no logic issues with the above (add a couple of print statements to see if you get to DoEvents) then the only thing I can think of is that NET::IRC is doing a blocking call, resulting in a frozen GUI. If this is the case, then you are best moving to a threaded solution, were

[perl-win32-gui-users] Enter key to move between text fields

2006-04-05 Thread Scott Spearman
I appologize in advance for my ignorance... I'm not a GUI programmer, have never been a GUI programmer, and will probably never BE a GUI programmer. Somehow, this doesn't matter to managment. I'm writing a program used for data-entry. The vast majority of data will be input using the number p

Re: [perl-win32-gui-users] Start dir in BrowseForFolder without -root

2006-04-05 Thread Reini Urban
Attached patch fixes this issue. 2006/4/5, Amondsen, Nikolaj Berg DK - AFI <[EMAIL PROTECTED]>: > > That is perfect! > Thank you very much :) > I wonder why that isn´t mentioned in the documentation, it seems like a normal > and usefull feature. > > > - Nikolaj > > > > -Original Message- >

RE: [perl-win32-gui-users] window freezes when connecting to IRC

2006-04-05 Thread Jeremy White
I have been trying to create a GUI for my IRC bot, but no matter what I try, the GUI freezes once it connects. I know that the GUI has a loop and that NET::IRC has it's own loop; therefore I have used NET::IRC's do_one_loop and WIN32::GUI's DoEvents. I've even tried lagging the irc loop to get

RE: [perl-win32-gui-users] Start dir in BrowseForFolder without -root

2006-04-05 Thread Amondsen, Nikolaj Berg DK - AFI
That is perfect! Thank you very much :) I wonder why that isn´t mentioned in the documentation, it seems like a normal and usefull feature. - Nikolaj > -Original Message- > From: darrik [mailto:[EMAIL PROTECTED] > Sent: 4. april 2006 21:22 > To: Amondsen, Nikolaj Berg DK - AFI > Cc: pe