Re: [perl-win32-gui-users] Listview column click sorting

2001-01-12 Thread Jonathan Southwick
Tim, here goes: NOTE: DataView is the name of my listview that I have set up. My data is also read in from a comma delimited file and stored in the listview. = sub DataView_ColumnClick { my $column = shift; ## i do this so that I can toggle

[perl-win32-gui-users] Listview column click sorting

2001-01-12 Thread Thomas, Timothy B
Jonathon, Can you post the code that you refer to in this old posting. I am looking for the code that allows you to click on a column header and sort by that field. http://www.mail-archive.com/[EMAIL PROTECTED]/msg00280.html Thanks, Tim Thomas -

[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

Re: [perl-win32-gui-users] double click in listbox

2001-01-12 Thread Jonathan Southwick
Sean, I think this is right: The 3 means that the user is not allowed to type in their own data into the control. You should use this when you only want the user to be able to select what you put in the listbox. So I don't know why only adding the 3 made any difference. Jonathan Southwick Tech

Re: [perl-win32-gui-users] double click in listbox

2001-01-12 Thread Sean Healy
Thanks, it works great now. What exactly does the '3' do? (The only change I made from my original code was to put that in.) -style => WS_VISIBLE | 3 | WS_VSCROLL |, _ Get your FREE download of MSN Explorer at http://exp

Re: [perl-win32-gui-users] double click in listbox

2001-01-12 Thread Jonathan Southwick
Sean, or in the -addstyle linbe you can have: -addstyle => WS_VSCROLL, instead. Jonathan Southwick Technical & Network Services Allegheny College, Meadsville, PA [EMAIL PROTECTED] - Original Message - From: "Sean Healy" <[EMAIL PROTECTED]> To: Sent: Friday, January 12, 2001 12:54

Re: [perl-win32-gui-users] double click in listbox

2001-01-12 Thread Jonathan Southwick
Sean, I'm sorry I didn't realize you wanted a scroll bar. Try this: use Win32::GUI; my $MainWindow = new Win32::GUI::Window( -name => "FruitWindow", -top=> 200, -left => 100, -width => 300, -height => 200, -minsize=> [300,200], -title => "Fruit Box", ); my $FruitList = $MainWi

[perl-win32-gui-users] Win32::GUI::DC - displaying an image.

2001-01-12 Thread Thomas, Timothy B
I am not clear about the documentation on Win32::GUI::DC on http://dada.perl.it/gui_docs/DC.html Is there a way to display an image? I would like to display, given a file name, jpg, gif, tif and bmp files. Is this possible yet with Win32::GUI? Does anyone have any example code of an implementati

Re: [perl-win32-gui-users] double click in listbox

2001-01-12 Thread Sean Healy
Thanks, Jonathan. I was able to figure out the problem, which is that it will not work when the '-style' attribute is set. So now I can get it to register a double click, but only if I'm willing to give up scrollbars. Has anyone found a way around this? I guess I can use the arrow keys or

[perl-win32-gui-users] Deselect from Listview

2001-01-12 Thread Thomas, Timothy B
How do you deselect all currently selected items from a listview? - Tim Thomas Unix Systems Administrator Lockheed Martin EIS ยท Denver Data Center 303-430-2281 mailto:[EMAIL PROTECTED] -

RE: [perl-win32-gui-users] VB dialup code

2001-01-12 Thread ChristianL
You need to look into win32::API which allows you to make API calls from within PERL. Christian [EMAIL PROTECTED] -Original Message- From: christopher sagayam [mailto:[EMAIL PROTECTED] Sent: Friday, January 12, 2001 9:49 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: Re: [pe

Re: [perl-win32-gui-users] VB dialup code

2001-01-12 Thread christopher sagayam
Thanks for the code now all I need is to convert it into perl let me take one as example can anyone tell me the equivalent of "Private Declare Function InternetGoOnline Lib "wininet.dll" Alias "InternetGoOnlineA" (ByVal lpszURL As String, ByVal hwndParent As Long, ByVal dwReserved As Long) As

Re: [perl-win32-gui-users] VB dialup code

2001-01-12 Thread Robert White
From: "christopher sagayam" <[EMAIL PROTECTED]> > I am looking for a VB (or a perl) to be later conversted to win32 GUI code > to autostart the default windows dial up connection if a user is NOT > connected to the internet ?? see attached. Very very complete... force dial, go online, RAS, ect

Re: [perl-win32-gui-users] Updown buddied with a texfield

2001-01-12 Thread Jonathan Southwick
Jake, I thought you would be able to use the Accelerators but have been trying for the past 1/2 hour to get them to work and they don't. I can't even do a simple print to the console. So either this doesn't work yet or I am doing something wrong. Jonathan Southwick Technical & Network Services

Re: [perl-win32-gui-users] double click in listbox

2001-01-12 Thread Jonathan Southwick
Sean, Try this little program and then incorporate it into your own: use Win32::GUI; my $MainWindow = new Win32::GUI::Window( -name => "FruitWindow", -top=> 200, -left => 100, -width => 300, -height => 200, -minsize=> [300,200], -title => "Fruit Box", ); my $FruitList = $MainWi

Re: [perl-win32-gui-users] 0.0.502 on PPM

2001-01-12 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Aldo, > Is it possible to get a copy of 502 as a ppd. > as I am behind a firewall and have been unable to install it > from http://dada.perl.it I've made the PPM distribution available on SourceForge. there is a ZIP file (be sure to choose the correct one for your Perl,

RE: [perl-win32-gui-users] 0.0.502 on PPM

2001-01-12 Thread Eoin_Butler
Aldo, Is it possible to get a copy of 502 as a ppd. as I am behind a firewall and have been unable to install it from http://dada.perl.it Rgds Eoin. -Original Message- From: Aldo Calpini [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2001 12:25 PM To: perl-win32-gui-users@lists.sou