Re: [perl-win32-gui-users] Left&Top vs Move

2004-01-01 Thread Erick Bourgeois
ing. > > We need a Wiki. I will convert the current Win32::GUI Documentation project website to Wiki within 2 weeks and post its URL for those who would like to see the difference between the two. -- Erick

Re: [perl-win32-gui-users] I'm here

2003-11-19 Thread Erick Bourgeois
On Mon, 17 Nov 2003 11:47:29 +0100, Aldo Calpini <[EMAIL PROTECTED]> said: > regarding the documentation, I appreciate what Erick did, but I found > it a little difficult to work with. I think a wiki (with CGI::Kwiki, > for example) would be a better start. we could also write i

Re: [perl-win32-gui-users] accelerator keys - now working

2003-11-14 Thread Erick Bourgeois
On Fri, 14 Nov 2003 08:53:30 +, "Jeremy White" <[EMAIL PROTECTED]> said: > >>I would be more than willing to bring the files together and serve > >>them up on jeb.ca > > Erick, are you able to generate flat html files which could be included > au

Re: [perl-win32-gui-users] accelerator keys - now working

2003-11-13 Thread Erick Bourgeois
ws, and only a subset were implemented in Win32::GUI. > > 3) I'd be willing to incorporate patches into my version, if someone > identifies them, and sends me the patches, they aren't too cumbersome to > apply, and make the merged binary distribution available. > >

Re: [perl-win32-gui-users] accelerator keys - now working

2003-11-07 Thread Erick Bourgeois
I guess it should be renamed, > though, if it diverges from the original. Glenn, Why don't you use CVS (the one already setup on SF.net) for all these much appreciated changes? It is indeed much easier to keep track of everything that way. -- Erick

Re: [perl-win32-gui-users] File Monitoring Script

2003-10-08 Thread Erick Bourgeois
g and consequently change the color of the list item. Please see the documentation that came with the module or the online version here: http://jeb.ca/perl/win32-gui-docs/index.pl/win32-gui-listview -- -erick-

Re: [perl-win32-gui-users] List views...How to?

2003-06-25 Thread Erick Bourgeois
h reference. Instead, send the "whole" hash, e.g. $listview->InsertItem (%item); erick

[perl-win32-gui-users] The Win32::GUI Documentation Project

2003-06-24 Thread Erick Bourgeois
inked from the F.A.Q., How-To, or any one of the documented "sub" modules to Win32::GUI. Please, if you wish to contribute, you must have a good understanding of HTML and CSS. Thanks and enjoy! erick

Re: [perl-win32-gui-users] Docs (List of missing desired widgets)

2003-06-18 Thread Erick Bourgeois
rocess of using WebGUI to construct the Win32::GUI Documentation section to my site. Allowing people to edit the documentation would be trivial, but I believe that it would be quite a security risk in allowing anyone to edit the documentation. So I can give certain users permission to edit them. erick

Re: [perl-win32-gui-users] Win32::GUI::HyperLink ownership

2003-05-10 Thread Erick Bourgeois
On Sat, 10 May 2003 18:03:53 +0200, Johan Lindstrom <[EMAIL PROTECTED]> said: > Does anyone know who wrote Win32::GUI::HyperLink? > > The only mention I found of it on the Net is at: > http://www.jeb.ca/perl/win32_module.htm > > Is it perhaps Erick Bourgeois himself th

Re: [perl-win32-gui-users] cmd window when executing a perl skript

2003-01-07 Thread Erick Bourgeois
GUI::Dialog(); #__more_code__ # Remeber to show the dos window # when your script is finished Win32::GUI::Show($DOS) Regards, [ erick ] On Tue, 7 Jan 2003 21:57:26 +0100 [EMAIL PROTECTED] (johannes huettemeister) wrote: > HI, > > im totally newbie to Win32::GUI. So maybe one

Re: [perl-win32-gui-users] TreeView - CheckBox

2002-07-25 Thread Erick Bourgeois
tter ideas, please let me know. Erick > >Hi, > > > >Anyone have a work around for retrieving the NODE when it's corresponding > >checkbox has been clicked? > >Provided, of course, the TreeView was cr

[perl-win32-gui-users] TreeView - CheckBox

2002-07-24 Thread Erick Bourgeois
Hi, Anyone have a work around for retrieving the NODE when it's corresponding checkbox has been clicked? Provided, of course, the TreeView was created with -checkbox => 1. Regards, [ erick ]

Re: [perl-win32-gui-users] Progress Bar (HELP !)

2001-07-24 Thread Erick Bourgeois
, $buffer="", $blksize); $track += $len; my $wlen; unless(defined($wlen = $sock->write($buffer,$len)) && $wlen == $len) { $sock->abort; $ProgWin->Hide(); Msg_Box("Cannot write to remote file $LocalFileName: $!",48,"Can't Write To File"); close(FILE); ResetTimer(); return undef; } } $ProgWin->Hide(); # Then hide it! # end of code # I hope this helps! regards, erick

Re: [perl-win32-gui-users] an array of hashes

2001-07-13 Thread Erick Bourgeois
, \%messageInfo); Then you can access the info by doing the following: foreach (@messageInfoList) { print "From: $_->{From}\n"; ... } Hope that helps. regards, erick

Re: [perl-win32-gui-users] an array of hashes

2001-07-02 Thread Erick Bourgeois
, \%messageInfo); Then you can access the info by doing the following: foreach (@messageInfoList) { print "From: $_->{From}\n"; ... } Hope that helps. regards, erick

Re: SOLVED Re: [perl-win32-gui-users] Getting Perl.exe - application error

2001-06-26 Thread Erick Bourgeois
-text => "Hello World", | ); | | What bothers me about this is that I pulled the top line right from | the=20 | documentation. I am sure no one has time but the docs should be | changed=20 | accordingly. What documentation had you found this? regards, erick

Re: [perl-win32-gui-users] Getting Perl.exe - application error

2001-06-26 Thread Erick Bourgeois
;, >-width => 100, >-height => 100, >); > $main->AddLabel(-text => "Hello, world"); > $main->Show(); > Win32::GUI::Dialog(); > > sub Main_Terminate { >-1; > } Try giving your label a name. regards, erick

[perl-win32-gui-users] Perl Code Exchange

2001-06-18 Thread Erick Bourgeois
/upload.cgi If there are any questions or comments, please email me. I hope this will help some people :) regards, erick bourgeois never stop questionning www.jeb.ca

[perl-win32-gui-users] (no subject)

2001-06-18 Thread Erick Bourgeois
/upload.cgi If there are any questions or comments, please email me. I hope this will help some people :) regards, erick bourgeois never stop questionning www.jeb.ca

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

2001-06-16 Thread Erick Bourgeois
e for *that*, is located on the Exchange." A brief description can be found here: http://www.jeb.ca/cgi-bin/exchange/display.cgi p.s. I will be adding a search.cgi and upload.cgi, if there is a high demand for it. Please enjoy! regards, erick bourgeois - Original Message - From: Morbus I

Re: [perl-win32-gui-users] Popup window

2001-06-07 Thread Erick Bourgeois
} It would be a great way of gathering all of the code that has been exchanged on this list. I should be done by the end of next week, if any has any questions regarding the idea(or, of course, some input), email me. regards, erick bourgeois never stop questionning www.jeb.ca - Original

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

2001-06-06 Thread Erick Bourgeois
You can find the FAQ here: http://www.jeb.ca/faq/Win32-GUI-FAQ.html regards, erick bourgeois never stop questionning www.jeb.ca - Original Message - From: Kevin Keegan <[EMAIL PROTECTED]> To: Sent: Wednesday, June 06, 2001 6:55 PM Subject: [perl-win32-gui-users] FAQ | I

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

2001-05-31 Thread Erick Bourgeois
| So, I first open a new browser and then click the link - voila. Side topic: hold shift and press the left mouse button on any link and it will open a new browser with that address. regards, erick - Original Message - From: Piske, Harald <[EMAIL PROTECTED]> To: Sent: Thursday,

Re: [perl-win32-gui-users] New window?

2001-05-24 Thread Erick Bourgeois
Dave, It's probably a good idea to put the $Win->Show(); at the end of the 'stored_Click 'sub, that is, after you added all the controls. And from what I remember, you should only call Win32::GUI::Dialog(); once. regards, erick bourgeois never stop questionning www.jeb.

Re: [perl-win32-gui-users] Using GetOpenFileName

2001-05-06 Thread Erick Bourgeois
Using GetOpenFileName$dir_path = Win32::GUI::BrowseForFolder( -title => "Choose a directory:", ); Piet De Jong wrote: | Hi | I want to be able to show a dialog box with just a directory listing. | Can I pass any parameters to the function GetOpenFileName to only show informat

Re: [perl-win32-gui-users] Perl Oasis

2001-04-17 Thread Erick
viewing it and then flip to another application and then back, and you still haven't loaded anything, then the dropdownbox is erased and your nice icon disappears. I haven't had time to look at your code, but these are two things I noticed right away. regards, erick never stop questio

[perl-win32-gui-users] RE: Win32::GUI FAQ, first draft

2001-04-15 Thread Erick
Looks good Felix. I fixed a couple of grammar and spelling mistakes. It can be found here: http://www.jeb.ca/faq/Win32-GUI-FAQ.html | Hello Aldo, Erick | enclosed you find a very first draft of the Win32-Gui-FAQ. I will add | more questions as they are discussed in the mailing-list and as I

[perl-win32-gui-users] RE: Aborting (now) an unbuffered write

2001-04-06 Thread Erick
ate further why, I have an idea though), but I just needed to add $sock->close() if (!$abort); This actually helps tremendously, because, now you can have 5 queued transfers and abort one without affecting any others, that's great!! I can feel the brain coming back to normal... :) Thanks Her

Re: [perl-win32-gui-users] Aborting (now) an unbuffered write

2001-04-06 Thread Erick
have a window which displays the progress with an "Abort" button, which I already gave the code. I need to exit this loop once and for all, once the connection has been closed. The answer is there...just gotta find it...someone...anyone. regards, erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] Aborting a buffered write

2001-04-06 Thread Erick
ments, it just closes the socket and thus all data transfering. The problem I believe is because since my application is GUI and event driven(OOP), any action one place jumps you to another section of code, without knowing how to get back and say, "hey stop doing that, move on". Does thi

[perl-win32-gui-users] Aborting a buffered write

2001-04-03 Thread Erick J. Bourgeois
close(FILE); $data->abort(); $ProgWin->Hide(); # <--progress dialogbox window $MainWin->SetForegroundWindow(); $MainWin->BringWindowToTop(); GUI::Update($MainWin); } I need a way tell the subroutine that is showing the progress to stop reading data and move on

[perl-win32-gui-users] Win32::GUI HOWTO

2001-04-02 Thread Erick J. Bourgeois
Gaehler is working on. (If the FAQ does not have a home, I would be willing to host it). Feel free to post(or send to me directly) your comments. regards, erick never stop questioning www.jeb.ca

[perl-win32-gui-users] Popup menu

2001-04-02 Thread Erick J. Bourgeois
s[1]],); $Popup->AddMenuItem("Hello"=>"HelloBut",); $Popup->Show(); } But, this is bad, very bad (extremely unpredictable, it doesn't have an owner). Is there a way to do it? erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] Building a HOWTO for Win32-GUI

2001-03-30 Thread Erick J. Bourgeois
| About the (numerous) [TBD]s in the doku I'm sorry Harald, it's probably just me, but what is "the doku"? The modules pakage? erick never stop questioning www.jeb.ca

[perl-win32-gui-users] ListView disappearing

2001-03-28 Thread Erick J. Bourgeois
I created this label was to get a desired background color.) Long and the short, if you want to do this, you have to declare the (background)label AFTER the the ListView control, as the window is updated, the Listview gets hidden (well, all, except the columns). Thanks anyways Johnathan. erick

[perl-win32-gui-users] Missing tutorials 6,7,8?

2001-03-28 Thread Erick J. Bourgeois
Aldo, Is there a reason why the tutorials jump from 5 to 9. I guess the 9 is upside down ;-) regards, erick never stop questioning www.jeb.ca

[perl-win32-gui-users] Building a HOWTO for Win32-GUI

2001-03-27 Thread Erick J. Bourgeois
Aldo, I was wondering if it was ok if I use the tutorials, which come with the Win32-GUI, and build an online (and obviously off-line) HOWTO? You could distribute the HOWTO with the module. Let me know what you think. regards, erick never stop questioning www.jeb.ca

[perl-win32-gui-users] Using both protocols fo AddHyperlink

2001-03-26 Thread Erick J. Bourgeois
ot;email dada's perl lab", -name => "test", -pos => [ 25, 35 ], -url => "mailto:[EMAIL PROTECTED]", ); $Window->Show(); Win32::GUI::Dialog(); sub Window_Terminate { return -1; } # EOF # erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] to erick

2001-03-26 Thread Erick J. Bourgeois
ast there somebody out there that has seen it, and I'm not doing all of this for nothing :) erick never stop questioning www.jeb.ca

[perl-win32-gui-users] Perl2exe bug or Win32-GUI bug?

2001-03-25 Thread Erick J. Bourgeois
When I compile a Win32::GUI (v0.0.588) script using Perl2Exe (v5.00 03), and I run it and then try and close it I get a page fault error. On the other hand, when I compile it using version 0.0.502, I do not receive the error. Is this a bug in Win32::GUI module (v0.0.588) or in Perl2Exe? erick

Re: [perl-win32-gui-users] A Win32-GUI Library?

2001-03-23 Thread Erick J. Bourgeois
material together, I would sit down and put it all togather. erick www.jeb.ca

Re: [perl-win32-gui-users] A Win32-GUI Library?

2001-03-23 Thread Erick J. Bourgeois
You can take at look at the not yet published site at www.jeb.ca/index_.htm. regards, erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] Versions on the ActiveState server

2001-03-21 Thread Erick J. Bourgeois
Paul, I get the following: Packages available from http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/ PPMServer: Win32-GUI [0.0.558] Win32 Graphical User Interface Extension Win32-GuiTest [0.9] Perl GUI Test Utilities erick never stop questioning www.jeb.ca - Original Message

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

2001-03-03 Thread Erick J. Bourgeois
Use either/both WS_HSCROLL | WS_VSCROLL in your style option. erick never stop questioning www.jeb.ca - Original Message - From: Peopleclick Customer Support <[EMAIL PROTECTED]> To: Sent: Friday, March 02, 2001 6:33 PM Subject: [perl-win32-gui-users] perl-win32-gui-users I

Re: [perl-win32-gui-users] combobox making me crazy

2001-03-03 Thread Erick J. Bourgeois
=> "fromMonth", | -left => 65, | -top=> 440, | -width => 60, | -height => 150, | -style => WS_VISIBLE | 2 # | WS_NOTIFY, | ); | erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] ListView Column Resize

2001-02-20 Thread Erick J. Bourgeois
em => 1, -width => $width/2, -text=> "Column2", ); for (sort keys %Hash) { $MainWin->ListView->InsertItem( -text=>[$_, $Hash{$_}] ); # I have another problem here, I want to set the checkbox to "checked" } $MainWin->

[perl-win32-gui-users] SS_SIMPLE

2001-02-20 Thread Erick J. Bourgeois
Aldo, The SS_SIMPLE option is only available with the new release of the Win32::GUI module? erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] ListView Column Resize

2001-02-20 Thread Erick J. Bourgeois
basically use the main window as a blackboard to show what there is in the "View" menu. Should I update the window before I show the new labels? erick never stop questioning www.jeb.ca - Original Message - From: Jonathan Southwick <[EMAIL PROTECTED]> To: Sent: Monday,

[perl-win32-gui-users] ListView Column Resize

2001-02-16 Thread Erick J. Bourgeois
Has anyone had the listview disappear if you try and resize the column? If I resize it, the first time it disappears, the second it reappears but without the scrollbars. Any one else? erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] SelectedItems method

2001-02-15 Thread Erick J. Bourgeois
dex, LVNI_SELECTED); while(tcount < scount && index != -1) { XST_mIV(tcount, (long) index); tcount++; index = ListView_GetNextItem(handle, index, LVNI_SELECTED); } XSRETURN(scount); } else { XSRETURN_NO; #Is the problem here?# } erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] SelectedItems method

2001-02-15 Thread Erick J. Bourgeois
Aldo, can I correct it myself and compile it with DJGCC? erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] SelectedItems method

2001-02-15 Thread Erick J. Bourgeois
Sorry to bother the list again, but Aldo, checking it's undef"ness" with defined does not work either, it falls through not matter what. I tried putting print "$index[0]\n"; to see it's value and indeed it is undef (ie. it did not print anything), so why does it pass

Re: [perl-win32-gui-users] SelectedItems method

2001-02-15 Thread Erick J. Bourgeois
> UNDEF IS NOT THE SAME AS 0! this is, speaking in perl terms, > an heresy and you shall be punished with eternal fire ;-) Mia colpa, mia colpa...won't happen again :) erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] SelectedItems method

2001-02-14 Thread Erick J. Bourgeois
y @index = $MainWin->ListView->SelectedItems(); if ($index[0] >= 0) { #I need the zero because of the zero-based index #do something... } else { Win32::MsgBox(...); } Any more ideas are more than welcome. erick never stop questioning www.jeb.ca - Original Message -

[perl-win32-gui-users] SelectedItems method

2001-02-14 Thread Erick J. Bourgeois
of the zero-based index #do something... } else { Win32::MsgBox(...); } When "Button" is pressed it always falls through the if statement. Even in the case of no selection it falls through because @index[0], in this case, is undef. I know undef is the same as 0, but how could I get around this? erick never stop questioning www.jeb.ca

[perl-win32-gui-users] ListView setting item as checked

2001-02-14 Thread Erick J. Bourgeois
When inserting an item, there does not seem to be an option for setting the item as checked or not. I think I would have to use the SetItem method, but there is no documentaion on this. Does anyone know? erick never stop questioning www.jeb.ca

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

2001-02-12 Thread Erick J. Bourgeois
> sorry, but where did you got this syntax? >From the documentation in FileOp module. erick never stop questioning www.jeb.ca - Original Message - From: Aldo Calpini <[EMAIL PROTECTED]> To: Erick J. Bourgeois Sent: Monday, February 12, 2001 10:47 AM Subject: Re: [perl-win

[perl-win32-gui-users] ListView_ItemClick

2001-02-11 Thread Erick J. Bourgeois
splays the MsgBox 2**(amount of selected items) times (ie. 2 to the power of). As you may see I tried Selecting the first item so the sub won't be called again. Any ideas? erick never stop questioning www.jeb.ca

[perl-win32-gui-users] SaveAsDialog

2001-02-09 Thread Erick J. Bourgeois
$file = SaveAsDialog %param, "foo.txt"; However, this, and other variants I have tried cause "...an invalid page fault in module PERL56.DLL at 017f:2804feea." Either there is something wrong with the function or I don't have the right syntax. Either way, any help would be greatly appreciated. erick never stop questioning www.jeb.ca

[perl-win32-gui-users] Testing a label's visibility

2001-02-09 Thread Erick J. Bourgeois
oesn't work because there is no method "Visible" for a label. But, you can set the -visible option of a label to 0. How do you find out whether it's 0 or 1? erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] ppm rep dada -maybe of topic

2001-02-07 Thread Erick J. Bourgeois
Get it from CPAN at http://search.cpan.org/search?dist=Win32-API , then unpack it and build it using nmake (follow the usual steps for making). Should work great. :) erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] Style Option Bug?

2001-02-03 Thread Erick J. Bourgeois
Jeremy, I didn't know that there was an -align option, but that is not really what I was concerned with, it's the colors. Why can't you use the two color options (ie. -background and -foreground) ALL the time, with any control? erick never stop questioning www.jeb.ca - O

[perl-win32-gui-users] Style Option Bug?

2001-02-03 Thread Erick J. Bourgeois
gt; [0, 0], -style => ES_CENTER | WS_VISIBLE, -background => [0,51,102], -foreground => [255,255,255], ); $MainWin->Show(); Win32::GUI::Dialog(); sub MainWin_Terminate { $MainWin->Hide(); return -1; } #--EOF---# erick never stop questioning www.jeb.ca

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

2001-02-03 Thread Erick J. Bourgeois
The subs that you supplied do not respond to the keys either. Any more ideas? erick never stop questioning www.jeb.ca - Original Message - From: Peter Eisengrein I may be wrong, but I've found that you cannot call a _Click() directly (you actually have to Click on some

[perl-win32-gui-users] AcceleratorTable

2001-02-01 Thread Erick J. Bourgeois
s => [70, 70], -menu => $Menu, ); $MainWin->Show(); Win32::GUI::Dialog(); sub MainWin_Terminate { $MainWin->Hide(); return -1; } sub Open_Click { my $file=GUI::GetOpenFileName(-title=>"File To Open", -filter=>["*.*"],); } sub OpenHK_Click { Open_Click(); } #EOF---# erick never stop questioning www.jeb.ca

[perl-win32-gui-users] GroupBox

2001-02-01 Thread Erick J. Bourgeois
When using, for example: $Window->AddButton( -name => "Frame", -pos => [10, 70], -size => [275, 200], -text => "Hello World!", -style => BS_GROUPBOX, -visible => 1, ); to create a Frame (or GroupBox), how do you change the background color for the text? erick www.jeb.ca

[perl-win32-gui-users] Listview background color

2001-01-31 Thread Erick J. Bourgeois
I'm sending this email as a last resort. I can't figure out how to change the background color of a listview. I tried the following: $Window->ListView->BackColor(hex("FF")); $Window->ListView->BackGround(hex("FF")); There is an option for tex

[perl-win32-gui-users] Combobox in a listview?

2001-01-30 Thread Erick J. Bourgeois
Is there a way to add a combobox to a listview, that is, let one of the elements be a combobox? erick never stop questioning www.jeb.ca

[perl-win32-gui-users] Column lists

2001-01-29 Thread Erick J. Bourgeois
ose tabs (eg. "Name"), each item will be sorted accordingly. (What is the real name for these controls?) erick never stop questioning www.jeb.ca

[perl-win32-gui-users] MessageBox

2001-01-23 Thread Erick J. Bourgeois
I see. Do you have a list of the corresponding icon, button, and modality values? erick never stop questioning www.jeb.ca - Original Message - From: Thomas, Timothy B To: 'perl-win32-gui-users@lists.sourceforge.net' Sent: Tuesday, January 23, 2001 11:09 PM Subject:

[perl-win32-gui-users] Combobox

2001-01-23 Thread Erick J. Bourgeois
Here you go Bart. This shows how to implement a combobox. Well, at least I hope this is what you want. If it isn't just personally email me. erick never stop questioning www.jeb.ca combobox.pl Description: Binary data

[perl-win32-gui-users] MessageBox

2001-01-23 Thread Erick J. Bourgeois
ssageBox( 0, "Do you want to do this?", "Title", MB_ICONINFORMATION | MB_YESNO, ); well at least this works for me. One question, what does the zero do? Make it modal? erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] MessageBox?

2001-01-23 Thread Erick J. Bourgeois
Sorry, I just found out how to do it. - Original Message - From: Erick J. Bourgeois To: perl-win32-gui-users@lists.sourceforge.net Sent: Tuesday, January 23, 2001 10:01 PM Subject: [perl-win32-gui-users] MessageBox? Is there a MessageBox constructor? I remember seeing

[perl-win32-gui-users] MessageBox?

2001-01-23 Thread Erick J. Bourgeois
Is there a MessageBox constructor? I remember seeing this idea somewhere, but I can't find it any more. erick never stop questioning www.jeb.ca

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

2001-01-23 Thread Erick J. Bourgeois
It worked Jonathan, thanks. I put the Select method before I inserted the items :) erick never stop questioning www.jeb.ca

[perl-win32-gui-users] Combobox

2001-01-23 Thread Erick J. Bourgeois
Johnathan, Do you mean $HostName ->Select[0]; I tried both ways, both don't work. erick never stop questioning www.jeb.ca

[perl-win32-gui-users] Combobox

2001-01-23 Thread Erick J. Bourgeois
HostName->InsertItem ("ftp.server1.com"); $HostName->InsertItem ("ftp.server2.com"); The first item is not showing right away, I have to drop the combobox first. I also tried -text=>"ftp.server1.com" erick never stop questioning www.jeb.ca

Re: [perl-win32-gui-users] Final Code: Click on URL in About Wind ow

2001-01-23 Thread Erick J. Bourgeois
Just to tell you Thomas, emails in Outlook have the ending .eml > Deviating from Win32-GUI somewhat: > Next step is to figure out how to mimik a "mailto:"; for the e-mail > link. Should be easy, once we figure out how to determine what the default > e-mail program is. Not sure what assicat

[perl-win32-gui-users] Version conflict

2001-01-23 Thread Erick J. Bourgeois
Dynaloader.pm? erick

[perl-win32-gui-users] Resizing

2001-01-23 Thread Erick J. Bourgeois
Aldo, I thought I had the version just before 0.0.558, however when I type: > perl -MWin32::GUI -e "print Win32::GUI::Version;" it tells me it is beta. erick

[perl-win32-gui-users] Resizing

2001-01-22 Thread Erick J. Bourgeois
> Maybe, just maybe, this will work. Add the following to your window > declaration: > > -minsize=> [$minwidth,$minheight], > -maxsize=> [$maxwidth,$maxheight], > I'm afraid the -minsize option does not work. $MainWin = new Win32::GUI::Window( -name => "MainWin", -text => "JEB F

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

2001-01-22 Thread Erick J. Bourgeois
I added the resizable option, however it still does not work: $MainWin = new Win32::GUI::Window( -name => "MainWin", -text => "Main Window", -height => 400, -width=> 450, -left => 200, -top => 100, -font => $Font, -menu => $Menu, -

[perl-win32-gui-users] Resizing

2001-01-22 Thread Erick J. Bourgeois
How does one prevent a user from resizing a window? The only thing I could think of is testing the window size when they attempt to resize and then stopit from being resized. Is there an easier or more efficient way of doing it? erick

[perl-win32-gui-users] Net::FTP with AddStatusBar()

2001-01-19 Thread Erick J. Bourgeois
Sorry, here is the sub for connecting to an FTP server sub CmdConnect_Click { my $FTPInfo; $Textbox->Text("Connecting to $Host"); if ($ftp = Net::FTP->new($Host, Timeout => 45, Debug => 1)) { $FTPInfo = Net::Cmd::message(); #Problem lies here, it just stops

[perl-win32-gui-users] Net::FTP with AddStatusBar()

2001-01-19 Thread Erick J. Bourgeois
sorry ->message() is method

[perl-win32-gui-users] Net::FTP with AddStatusBar()

2001-01-19 Thread Erick J. Bourgeois
The program stalls when it tries to read from the STDOUT. I was looking at the docs, Net::Cmd, and there is a ion ->message(), however, it stalls there as well, waiting. ->message() returns the text message returned from the last command . Don't get it?

[perl-win32-gui-users] Greyed Controls

2001-01-19 Thread Erick J. Bourgeois
Is it possible to "grey out" a control (user can not change it, but he/she can see it, like a DUN). I have tried many options and can not find the answer. erick Never Stop Questioning www.jeb.ca

[perl-win32-gui-users] Net::FTP with AddStatusBar()

2001-01-18 Thread Erick J. Bourgeois
om Net::FTP) and place it in > > > >$SB = $Window->AddStatusBar(-text => $FTPInfo); > > $SB->Text($FTPInfo); > > should do the trick. erick

[perl-win32-gui-users] Net::FTP with AddStatusBar()

2001-01-18 Thread Erick J. Bourgeois
Is there a way to catch the STDOUT from using Net::FTP (ie. let $FTPInfo equal the information (string) from Net::FTP) and place it in $SB = $Window->AddStatusBar(-text => $FTPInfo); erick Never Stop Questioning www.jeb.ca

[perl-win32-gui-users] Winppm.pl

2001-01-12 Thread Erick J. Bourgeois
I was fouling around with the GUI samples and I tried to run winppm.pl, but I get this Windows error PERL caused an invalid page fault in module MSVCRT.DLL at 017f:78002f52. Any ideas? erick

[perl-win32-gui-users] GetOpenFilename

2001-01-11 Thread Erick J. Bourgeois
I Can't even get the first call. > > my $filename = Win32::GUI::GetOpenFileName( > > -filter => [ > > "File type 1" => "*.ft1", > > "File type 2" => "*.ft2", > > ], > > ); > > I used the above code, but no results. The only way I can filter files is one file ending at a time, that is by placing a

[perl-win32-gui-users] (no subject)

2001-01-11 Thread Erick J. Bourgeois
Is there any way of showing a main window (ie. Win32::Window) without having to call: Win32::GUI::Dialog(); after: $Frame->Show(); erick