Re: [perl-win32-gui-users] Using Threads with Win::32 and Net::IRC

2006-04-07 Thread Roger Mayfield
Net::IRC and GUI thread don't block on database access) but the downside is the extra work involved Cheers, jez. well, considering I need to access some information before I ever start the thread, I'll just go ahead and split my database. Roger Mayfield

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

2006-04-06 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

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

2006-04-06 Thread Roger Mayfield
icon, the console disappears, when you click it again, it reappears. What I want to do know is test whether the console window has been minimized so that I can then hide the window ie: minimize to tray. if ($DOS = minimized) { Win32::GUI::Hide($DOS); } Roger Mayfield

[perl-win32-gui-users] Using Threads with Win::32 and Net::IRC

2006-04-06 Thread Roger Mayfield
the hell I'm doing, lol. Or should I try a different Mailing list? Roger Mayfield

Re: [perl-win32-gui-users] Using Threads with Win::32 and Net::IRC

2006-04-06 Thread Roger Mayfield
SQLite2 support threading? Roger Mayfield

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

2006-04-05 Thread Roger Mayfield
threads or processes. My program will need to share data with the IRC thread, so I know forking won't work right even with SIG. I was looking at Win32::Process but I'm so confused. Anybody know of a good book/website/tutorial/example using Win32::Process? Roger Mayfield

[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] DOS Window minimized?

2006-04-05 Thread Roger Mayfield
, only to get it's handle: ($DOS) = Win32::GUI::GetPerlWindow(); So, how do I test if the DOS window has been minimized? Roger Mayfield

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

2006-04-04 Thread Roger Mayfield
the window to update reguraly, but it didn't work either, here is my program's main loop: while (!$terminate) { $window-DoEvents(); if ($loop 9 $connected) { $irc-do_one_loop(); $loop = 0; } else { $loop++; } } Any suggestions? Roger Mayfield