RE: [perl-win32-gui-users] AddGroupbox causes Perl to crash?

2001-06-15 Thread Piske, Harald
Aren't you gonna give that thing a -name? Every object in GUI needs a name. If it's not unique, that's fine so long as you don't need to interact with the thing. But popping out of Perl from unnamed objects, we've seen that before here on the list. Have fun, Harald > -Original Message- >

[perl-win32-gui-users] AddGroupbox causes Perl to crash?

2001-06-15 Thread Jeremy Blonde
Has anyone been running into problems using a Groupbox? My script crashes if I use a Groupbox, remove the Groupbox and the script works fine. I haven't modified my script, but I have downloaded the latest version of Perl from Activestate (626, it is a fresh install I didn't overwrite 522) and hav

RE: [perl-win32-gui-users] Opening a *New* Browser Window?

2001-06-15 Thread Piske, Harald
I guess there's just no way to do it so that all browsers behave the same. And you would not want to have code for all the major browsers out there - talk about maintainability. How about making your code smart enough to deal with it? Open a new browser, deliberately empty, i.e. w/o passing a url.

[perl-win32-gui-users] Systray Clicks Are Called Twice?

2001-06-15 Thread Morbus Iff
Has anyone noticed Systray clicks being sent twice to the script. For example, below is a code snippet. Whenever anyone clicks on "Open Window" for instance, the subroutine is called twice. We've had to implement a workaround (further below). # Create the popup menu $systray_menu = new W

[perl-win32-gui-users] Systray Clicks Are Called Twice?

2001-06-15 Thread Kevin Hemenway
Has anyone noticed Systray clicks being sent twice to the script. For example, below is a code snippet. Whenever anyone clicks on "Open Window" for instance, the subroutine is called twice. We've had to implement a workaround (further below). # Create the popup menu $systray_menu = new W

RE: [perl-win32-gui-users] Opening a *New* Browser Window?

2001-06-15 Thread Morbus Iff
>use Win32::TieRegistry; >use Win32::API; > > $url = "http://www.activestate.com";; > my $http = $Registry->{"Classes\\http\\shell\\open\\command"}->{'\\'}; > unless ( $pid = fork ) { system("$http $url"); } > > if (! $pid){ >my $ShellExecute = new Win32::API("shell32", >

[perl-win32-gui-users] RE: [perl-win32-gui-users] ListBox, -mu ltisel and Select() problems

2001-06-15 Thread Peter Eisengrein
from the samples, here's a select all. I suppose you could modify it to select just some... sub AddAll_Click { for $i (0..$List1->Count-1) { $List2->InsertItem($List1->GetString($i)); } $List2->Select($List2->Count-1); $Edit2->Text($List2->GetString($List2->SelectedItem));

Re: [perl-win32-gui-users] Selecting multiple lines in ListBox

2001-06-15 Thread Johan Lindstrom
Henning wrote: HOWEVER, if I remove the -multisel statement from the ListBox defintion, items *do* get selected (only one at a time, though, obviously)! Is this a bug? And is there a known workaround for it? Surely I cannot be the first person to try selecting multiple items from within program c

[perl-win32-gui-users] ListBox, -multisel and Select() problem s

2001-06-15 Thread Tolpinrud , Henning
Hi! In my program I have a ListBox control, and I'm saving out selections from this listbox to a datafile. I need to be able to read a selection back in and have the program select the correct items in the list. I have code working for writing and reading back these lists, however I have encou

[perl-win32-gui-users] Re: Win32:: GUI Capturing the enter key

2001-06-15 Thread Kevin . ADM-Gibbs
Carol, Your code looked fine to me but didn't work when I ran it either so I looked at Aldo's PRIDE program and found that I could only get the keypress event to be called if I declared a new class and then made the richedit a member of that class: my $EC = new Win32::GUI::Class( # With

Re: [perl-win32-gui-users] Archives

2001-06-15 Thread Hirosi Taguti
> Was "how" the search word you entered? If so, it's probably filtered as > a too-common word. Try different words more topical to what you are > searching for help on. Oooops. I tried, "popup", "Textfield" in real. -- Hirosi Taguti [EMAIL PROTECTED]

Re: [perl-win32-gui-users] Archives

2001-06-15 Thread Marjolein Katsma
Hiroshi, Was "how" the search word you entered? If so, it's probably filtered as a too-common word. Try different words more topical to what you are searching for help on. At 13:48 2001-06-15 +0900, Hirosi Taguti wrote: >I like to search on Perl-Win32-GUI-Users Archives. >But when I enter sear