RE: [perl-win32-gui-users] Perl and printing

2003-05-14 Thread Thomas, Timothy B
Peter, I wanted to let you know I really appreciated your post on this issue. I have been looking for a good work-around to the printing problem, and your first solution below is awesome, the only thing I had to add was quotes around $file. Here's a sample script I wrote to test it out: #!perl -w

[perl-win32-gui-users] Win32-GUI on a new computer

2002-12-20 Thread Thomas, Timothy B
Just like everyone else, I occassionally get a new computer and have problems getting everything setup the way it used to be. I have installed ActivePerl build 633 and installed 0.0.665 from the ppm-tar file on Surgeforce. I am getting the messages below (they seem to just be warnings) on my old wi

RE: [perl-win32-gui-users] Animated windows

2002-10-08 Thread Thomas, Timothy B
Here's what I did to get it to work: use Win32; use Win32::GUI; #added use Win32::API; use constant AW_HOR_POSITIVE => 0x0001; use constant AW_HOR_NEGATIVE => 0x0002; use constant AW_VER_POSITIVE => 0x0004; use constant AW_VER_NEGATIVE => 0x0008; use constant AW_CENTER => 0x

RE: [perl-win32-gui-users] ListView loses selection

2001-10-26 Thread Thomas, Timothy B
There is an option for list view that does this for you: -showselalways=>1 -Original Message- From: Piske, Harald [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2001 9:30 AM To: 'Peter Eisengrein'; perl-win32-gui-users@lists.sourceforge.net Subject: RE: [perl-win32-gui-users] ListView

FW: [perl-win32-gui-users] Sorting Listview

2001-09-05 Thread Thomas, Timothy B
I pulled the code below straight out of a program I wrote awhile back that does this. This issue has been discussed several times, you might find better examples in the archives. What most people have done is store their data in a pre-defined hash, I actually pull the data directly from the table a

[perl-win32-gui-users] pathext issue with start, run vs command line

2001-05-23 Thread Thomas, Timothy B
This isn't strictly WIn32:GUI, but it's related. I have .pl and .gpl associated with perl.exe and guiperl.exe respectively where guiperl is the console-less executable. I also have the pathext environment variable set to include .pl and .gpl. I also have all my useful scripts in one location and th

[perl-win32-gui-users] Shutdown, reboot, logoff and lock on NT and 2000 with perl?

2001-05-21 Thread Thomas, Timothy B
Are there any Win32::GUI options to to shutdown, reboot, logoff the current user and/or lock the screen using perl on NT or 2000? Thanks, Tim Thomas

[perl-win32-gui-users] Win32::Setupsup on 5.6

2001-04-30 Thread Thomas, Timothy B
Has anyone been able to get Setupsup to work on Perl 5.6. I can't get it loaded via PPM and I tried to download the thing and do the makefile.pl, nmake processes, but that didn't work at all. Does anyone know where it can be installed from? Thanks, Tim

[perl-win32-gui-users] Looping Question

2001-03-28 Thread Thomas, Timothy B
I have a Win32::GUI script that needs to loop. I tried using a timer for each instance of the loop, but it doesn't always take the same amount of time for each time through. I had this as a command line program and just put the whole thing in a while (1==1). How can I do the same thing with Win32::

RE: [perl-win32-gui-users] .plan - Win32::GUI::JPEG

2001-03-23 Thread Thomas, Timothy B
Aldo - Has anyone volunteered to help with the Win32::GUI::JPEG addition yet? I would like to help, but my C/C++ experience isn't current, as my familiarity with today's compilers. It's been over 5 years since I have done any serious C programming. Let me know what your expectations are of someon

RE: [perl-win32-gui-users] Accelerators

2001-03-19 Thread Thomas, Timothy B
What is an accelerator? - Tim Thomas Unix Systems Administrator Lockheed Martin EIS · Denver Data Center 303-430-2281 mailto:[EMAIL PROTECTED] --

RE: [perl-win32-gui-users] Display a jpeg and gif image

2001-03-05 Thread Thomas, Timothy B
I have about 6000 images, so considering the disk space that .bmp takes compared to a .jpg, that's out of the question. BUT, if I could figure out a way to convert the jpg to a bmp just to display it, that might work, anyone know of a internal perl way to do image conversions? I have done it throug

[perl-win32-gui-users] Display a jpeg and gif image

2001-03-02 Thread Thomas, Timothy B
Aldo or anyone - I really need to figure out a way to display jpeg and gif images in one of my Win32::GUI apps. There has got to be a way to accomplish it. Any suggestions? I thought of converting the whole thing to TK, but I really don't want to have to go that route. Thanks,

RE: [perl-win32-gui-users] get value from list

2001-02-16 Thread Thomas, Timothy B
www.3s-group.com = -Original Message- From: Thomas, Timothy B [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Sent: 15 February 2001 17:45 To: 'perl-win32-gui-users@lists.sourceforge.net' Subject:

RE: [perl-win32-gui-users] get value from list

2001-02-15 Thread Thomas, Timothy B
checks. www.3s-group.com = -Original Message----- From: Thomas, Timothy B [mailto:[EMAIL PROTECTED] Sent: 15 February 2001 16:48 To: 'perl-win32-gui-users@lists.sourceforge.net' Subject:RE: [perl-win32-gui-users] get value from list Someone else has written a win32

RE: [perl-win32-gui-users] get value from list

2001-02-15 Thread Thomas, Timothy B
Someone else has written a win32::Gui program to do just what you are trying to do. I don't seem to have the code anymore. Maybe they can post it again, or you can search the archives. Here's a piece of code I just wrote that gets all the data, including the image, from a listview, it puts it into

RE: [perl-win32-gui-users] MessageBox

2001-01-23 Thread Thomas, Timothy B
Erick - the function I was using was out of the Win32 module, not Win32::GUI, that explains the differences. to get the method I use to work you would need: use Win32, as well as use: Win32::Gui. Tim

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

2001-01-23 Thread Thomas, Timothy B
Win32::MsgBox("Text", 0, "title"); or $result=Win32::MsgBox("Do you want to do this?", 4, "Title"); if ($result==6) #yes is clicked { #do this stuff } - Tim Thomas Unix Systems Administrator Lo

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

2001-01-23 Thread Thomas, Timothy B
Unix Systems Administrator Lockheed Martin EIS · Denver Data Center 303-430-2281 mailto:[EMAIL PROTECTED] - -Original Message- From: Aldo Calpini [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2001 10:1

[perl-win32-gui-users] Cursor Inline?

2001-01-23 Thread Thomas, Timothy B
-2281 mailto:[EMAIL PROTECTED] - -Original Message- From: Thomas, Timothy B [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2001 9:09 AM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-users] Final Code: Clic

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

2001-01-23 Thread Thomas, Timothy B
Sean - Thanks! That was my next step, but didn't yet have the time to research how to go about doing it. Didn't know it was so easy to implement a custom cursor like that. Your code works perfectly. Deviating from Win32-GUI somewhat: Next step is to figure out how to mimik a "mailto:"; for

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

2001-01-23 Thread Thomas, Timothy B
Christopher - it's not meant to work that way, only when you click on the URL is it supposed to open your browser. What version of Win32-GUI are you running? Make sure you are running the latest, I think 0.0.502 is the most recent stable version. ---

[perl-win32-gui-users] Final Code: Click on URL in About Window

2001-01-19 Thread Thomas, Timothy B
Here's the code that you all helped me to figure out. You can use this to implement a clickable URL in your About Window, or whereever you like. The code may not be very clean, let me know if you have suggestions to improve this. This example runs as-is. Aldo - any way to build all this in to the

RE: [perl-win32-gui-users] Win32::GUI::Label Click()/DblClick()

2001-01-19 Thread Thomas, Timothy B
dth, -height => $height, ); sub About_Click { Help_About_Click(); } This creates a label that I use to fire up the about dialog. The label is "hidden" behind a bitmap. As long as I apply the bitmap to the background prior to creating the label, the label's messages are received.

RE: [perl-win32-gui-users] Win32::GUI::Label Click()/DblClick()

2001-01-19 Thread Thomas, Timothy B
] Win32::GUI::Label Click()/DblClick() Last time i tried it, I could get Click to work, but not DblClick. Jeremy Blonde [EMAIL PROTECTED] --- "Thomas, Timothy B" <[EMAIL PROTECTED]> wrote: > > Do the Click() or DblClick() events work for the > Win32::GUI::Label objec

[perl-win32-gui-users] Win32::GUI::Label Click()/DblClick()

2001-01-18 Thread Thomas, Timothy B
Do the Click() or DblClick() events work for the Win32::GUI::Label object yet? My tests seem to indicate no, but the events are listed in the documentation. Tim - Tim Thomas Unix Systems Admini

RE: [perl-win32-gui-users] Getting the browser

2001-01-15 Thread Thomas, Timothy B
Same problem, here's the output I am getting with your new regular expression: .html="C:\PROGRA~1\Plus!\MICROS~1\iexplore.exe" .htm="C:\PROGRA~1\Plus!\MICROS~1\iexplore.exe" .txt="C:\Program .pl=C:\Perl\bin\Perl.exe .doc="C:\Program .xls="C:\Program .ppt="C:\Program .log="C:\Program .url=rundll32.e

RE: [perl-win32-gui-users] Getting the browser

2001-01-15 Thread Thomas, Timothy B
Sean - Hey - that's pretty cool. I hadn't thought of taking that angle. I noticed a problem or two with your code. The main one was that if your association is pointing to something like "C:\Program Files\Windows NT\Accessories\WORDPAD.EXE", it doesn't like it because of the space in "

[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] 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

[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] URL Link Object?

2001-01-11 Thread Thomas, Timothy B
Sean - thanks for your input. I hadn't thought of checking for the mouse position. Your drawbacks are BIG drawbacks and definitely would not be worth bothering with. I had thought of doing it with a button or some other action, but I keep coming back to your drawback #2. How do I determine what

RE: [perl-win32-gui-users] URL Link Object?

2001-01-11 Thread Thomas, Timothy B
Should I take that as a no? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 08, 2001 11:47 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] URL Link Object? Aldo or anyone else- Is there an object within Win