Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Travis Krumsick
--- Robert May <[EMAIL PROTECTED]> wrote: > I tried using > system "start temp.html"; > instead, and I see the delay you're taking about. I had a similar issue trying to launch a web browser using system "start ..." My workaround was to use a Win32::API call to ShellExecuteA Using your exam

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Marc Nürnberger
Hehe, thanks for the time you spent to look over things like that. I know that you have better things to do than teaching me how to code in perl. And I think that this mailing list isn't the right place to do so. As you might have guessed I'm not the most experienced programmer on earth. At the beg

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Robert May
On 26/07/07, Marc Nürnberger <[EMAIL PROTECTED]> wrote: H... I found a strange behavior after adding some "debugging" prints. The delay occurs when the last command is executed. That `links.html` one. Everything works fine up to that point. But that's only the case when I use the GUI version.

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Marc Nürnberger
H... I found a strange behavior after adding some "debugging" prints. The delay occurs when the last command is executed. That `links.html` one. Everything works fine up to that point. But that's only the case when I use the GUI version. When using the console version that command runs without

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Marc Nürnberger
Robert May wrote: > #!perl -w > use strict; > use warnings; > use Win32 qw(CSIDL_APPDATA); > > print Win32::GetShortPathName(Win32::GetFolderPath(CSIDL_APPDATA)), "\n"; > __END__ > > That will get what you need, and work for all versions of Win32 from > Win95 through Vista - $ENV{APPDATA} will on

Re: [perl-win32-gui-users] Accelerator Scoping Oddity, Gridlayout Suggestions

2007-07-26 Thread Robert May
On 25/07/07, Veli-Pekka Tätilä <[EMAIL PROTECTED]> wrote: Secondly, I know this is much easier said than done, but would be great if the GridLayout control could be improved to be more like layout managers are in other UIs. I'd like to see a family of layout modules, offering capabilities from

Re: [perl-win32-gui-users] Accelerator Scoping Oddity, Gridlayout Suggestions

2007-07-26 Thread Robert May
On 25/07/07, Salvador Ortiz García <[EMAIL PROTECTED]> wrote: On Wed, 2007-07-25 at 16:29 +0300, Veli-Pekka Tätilä wrote: > Hi list, > I think I've found a bug or oddity in Win32::GUI::AcceleratorTable > ... Yes, right now only the internal handlers are stored in the associated window, a bug IMH

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Robert May
On 26/07/07, Marc Nürnberger <[EMAIL PROTECTED]> wrote: Hi there, first of all thanks for your quick answers. Geoffrey Spear wrote: > I don't have a solution for your freezing problem, but you should be > able to replace "C:/Docume~1/$ENV{'USERNAME'}/Anwendungsdaten" with > "$ENV{'APPDATA'}" an

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Marc Nürnberger
Hi there, first of all thanks for your quick answers. Geoffrey Spear wrote: > I don't have a solution for your freezing problem, but you should be > able to replace "C:/Docume~1/$ENV{'USERNAME'}/Anwendungsdaten" with > "$ENV{'APPDATA'}" and have it work in any locale. I could do that, but becaus

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Jason Plum
This is not a GUI issue per se, as it is the fact that your routine runs synchronous, in the main thread of the application. To remove this lag (and the delayed drawing of the window) you will need to do some looking through the mail archives and find how to write this into a separate thread. ---

[perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Marc Nürnberger
Hi everyone, I tried to create a little GUI for a program which I wrote a while ago. It's only a little link filter. I have to give him an URL, he parses the website for given regular expressions and gives back a HTML file with all the links in it. Now the problem is that if i enter the URL and cl