Re: [perl-win32-gui-users] General Perl Text Extraction doubt

2004-01-09 Thread Jonathan Southwick
has. Also, like Jez stated, a very good source for general perl questions not related to the Win32::GUI module is http://www.perlmonks.org. There is a wealth of information and help there. Jonathan Jonathan Southwick [EMAIL PROTECTED] Technical Network Services

Re: [perl-win32-gui-users] Progress bar's [coloring]

2003-12-23 Thread Jonathan Southwick
is the answer: $result = SendMessage($hWndControl, PBM_SETBARCOLOR, 0, $color); To make my ProgressBar red I used the following: Win32::GUI::SendMessage($Progress, 0x400 + 9, 0, hex('FF')); I hope this helps. Jonathan Jonathan Southwick [EMAIL PROTECTED

Re: [perl-win32-gui-users] Progress bar's [coloring]

2003-12-23 Thread Jonathan Southwick
Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College Meadville, PA 16335 (814) 332-2755

[perl-win32-gui-users] need help with Graphic

2003-12-22 Thread Jonathan Southwick
anyone ever accomplished this? Does anyone know HOW to do it? Any help would be greatly appreciated. Jonathan Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College Meadville, PA 16335 (814) 332-2755

Re: [perl-win32-gui-users] need help with Graphic

2003-12-22 Thread Jonathan Southwick
What I do is plot (x,y) the data points that I am graphing and connecting the points so that I have a line graph. Since I am plotting two series of data I have two different colored graphs. Jonathan At 12/22/2003 06:34 PM, you wrote: At 17:37 2003-12-22, Jonathan Southwick wrote: I have

Re: [perl-win32-gui-users] Change menu text

2003-11-14 Thread Jonathan Southwick
Thanks, that worked. One question though, just because I am curious: What does the 'x26' do? Jonathan At 11/13/2003 03:52 PM, Glenn Linderman wrote: On approximately 11/13/2003 1:20 PM, came the following characters from the keyboard of Jonathan Southwick: Is it possible to change the text

[perl-win32-gui-users] Change menu text

2003-11-13 Thread Jonathan Southwick
Is it possible to change the text on a menu? I want to change a menu item from Refresh workgroups to Refresh clients depending on what view they are currently at. I am already keeping track of the view I just need to change the menu text. Jonathan Southwick [EMAIL

Re: [perl-win32-gui-users] How do you deselect all currently selected items from a listview?

2003-07-23 Thread Jonathan Southwick
Here is how I do it in one of my programs: $MainWindow-Recipients-Clear(); Where Recipients is the name of my listbox. Jonathan Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College Meadville, PA 16335 (814) 332-2755 At 7/22/2003

Re: [perl-win32-gui-users] How do you deselect all currently selected items from a listview?

2003-07-22 Thread Jonathan Southwick
Here is how I do it in one of my programs: $MainWindow-Recipients-Clear(); Where Recipients is the name of my listbox. Jonathan Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College Meadville, PA 16335 (814) 332-2755 At 7/22/2003

RE: [perl-win32-gui-users] GUI no longer works

2003-04-03 Thread Jonathan Southwick
] (800) 648-8617 x1540 -Original Message- From: Jonathan Southwick [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:57 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] GUI no longer works I hope someone here can help. We have installed

[perl-win32-gui-users] GUI no longer works

2003-04-02 Thread Jonathan Southwick
it resolved or does anyone know what needs to be done to get it to work? Jonathan Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College Meadville, PA 16335 (814) 332-2755

RE: [perl-win32-gui-users] GUI no longer works

2003-04-02 Thread Jonathan Southwick
PROTECTED] (800) 648-8617 x1540 -Original Message- From: Jonathan Southwick [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:57 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] GUI no longer works I hope someone here can help. We have

Re: [perl-win32-gui-users] Convert DEC RGB to HEX

2003-03-10 Thread Jonathan Southwick
it better. This whole description might be a little confusing so if anyone can explain it better or has an easier way to do the conversion please go ahead and post it. Jonathan Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College Meadville, PA

Re: [perl-win32-gui-users] Convert DEC RGB to HEX

2003-03-10 Thread Jonathan Southwick
mistakes ... [I hope!]. Jonathan Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College Meadville, PA 16335 (814) 332-2755 At 3/10/2003 09:24 AM, you wrote: If you know your hexadecimal to decimal conversions, and decimal to hexadecimal, it's

Re: [perl-win32-gui-users] Newbie Win32::GUI Question

2003-01-24 Thread Jonathan Southwick
Your problem is the lowercase 't' ... You could do what John Rogers suggested or change your line in the Button_1_Click subroutiine to $txt1-Text(recording..); Jonathan -- Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814

[perl-win32-gui-users] Timers (cont)

2003-01-16 Thread Jonathan Southwick
what I am talking about. Jonathan Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755

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

2003-01-16 Thread Jonathan Southwick
to trigger events? I'm wondering if it gets hung up somewhere else in the code that you can maybe add a DoEvents() or Update() -Original Message- From: Jonathan Southwick [mailto:[EMAIL PROTECTED] Sent: Thursday, January 16, 2003 12:28 PM To: perl-win32-gui-users@lists.sourceforge.net

Re: [perl-win32-gui-users] Re: Perl-Win32-GUI-Users digest, Vol 1 #518 - mousemove

2002-11-25 Thread Jonathan Southwick
That worked. Thanks Alan. Jonathan At 11/22/2002 10:46 PM, you wrote: Try playing about with the following (it won't work in version .665 - and don't ask me how/why it works in .558!). I use it to draw rectangles for widgets in a primitive but quite useful gui designer that makes Perl do

[perl-win32-gui-users] ChooseColor()

2002-11-22 Thread Jonathan Southwick
I was looking on an API reference site for information on saving the Custom Colors in the ChooseColor dialog. It appears it is only returning a single value. When I use ChooseColor I initalize it with the current color. $getcolor is what is returned (what I choose from the dialog box). I

[perl-win32-gui-users] GetDC

2002-10-10 Thread Jonathan Southwick
Where can I get information on how to use this? I am able to draw lines (axes and ticks for a graph) and I know how to plot individual points on the graph but I am wondering if there is more? (I don't mean circles and boxes.) Can the DC object be cleared (other than placing another window

[perl-win32-gui-users] Unselect a selected item in a listview

2002-06-24 Thread Jonathan Southwick
I know you can force a selection in a listview with $MainWindow-Listview-Select($idx). I thought issuing the command again would force an unselection but it doesn't. Does anyone know how to force an item in a listview to be unselected once it has bee selected? Jonathan

[perl-win32-gui-users] ListView question

2002-06-20 Thread Jonathan Southwick
I know I can select items based on their index with $MainWindow-Listview-Select($index) but how do I unselect it (without clicking on it)? Jonathan

[perl-win32-gui-users] another menu question

2002-06-19 Thread Jonathan Southwick
I am now able to create a menu based on text in a file thanks to Aldo's help. Now that the menu items have been added, is there a way to modify the menu? Here is what my program does. It allows a user running Windows 2000 or NT to send a message to every computer running Windows 2000 or NT

RE: [perl-win32-gui-users] another menu question

2002-06-19 Thread Jonathan Southwick
The results are already stored to the ini file so that when they run the script the next time they will have the menu items available to them. The ini file is read in and the 'Message' section of the menu is created on startup of the script. I want them to be able to access the menu items

RE: [perl-win32-gui-users] another menu question

2002-06-19 Thread Jonathan Southwick
I meant I want them to be able to access the NEW menu items without restarting the script. Jonathan At 6/19/2002 09:59 AM, you wrote: The results are already stored to the ini file so that when they run the script the next time they will have the menu items available to them. The ini file

RE: [perl-win32-gui-users] another menu question

2002-06-19 Thread Jonathan Southwick
( File = File, Counter $counter... = Counter, ); $MW-Change(-menu = $Menu); } ### END -Original Message- From: Jonathan Southwick [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] Sent: Wednesday, June 19, 2002 10:04 To: perl-win32-gui-users@lists.sourceforge.net Subject: RE

[perl-win32-gui-users] Creating menu's on-the-fly

2002-06-18 Thread Jonathan Southwick
I have a file that contains some information that is used to create a menu, almost like a Recently Opened Files list. I tried using the code from the podview,pl sample but it is not working for me. Can anyone see anything I am doing wrong? # define main menu my $MainMenu = new

Fwd: Re: [perl-win32-gui-users] Creating menu's on-the-fly

2002-06-18 Thread Jonathan Southwick
From: Aldo Calpini [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net, Jonathan Southwick [EMAIL PROTECTED] Subject: Re: [perl-win32-gui-users] Creating menu's on-the-fly Date: Tue, 18 Jun 2002 17:35:23 +0200 X-Mailer: Microsoft Outlook Express 5.50.4807.1700 Jonathan

Re: [perl-win32-gui-users] Creating menu's on-the-fly

2002-06-18 Thread Jonathan Southwick
Thanks Aldo. It works now. Jonathan At 6/18/2002 05:35 PM, you wrote: Jonathan Southwick wrote: I have a file that contains some information that is used to create a menu, almost like a Recently Opened Files list. I tried using the code from the podview,pl sample but it is not working

Re: [perl-win32-gui-users] Rich edit: formatted text lost when scrollled

2002-06-10 Thread Jonathan Southwick
What finally worked for me was to add: ## $MainWindow is the window that has my RichEdit control. $MainWindow-InvalidateRect(0); I hope this works for you as well. Jonathan At 6/6/2002 09:56 AM, Straub, Peter (Peter) wrote: Hi all, like other contributors to this list I experienced refresh

[perl-win32-gui-users] Re: Richedit: refresh problem

2002-06-04 Thread Jonathan Southwick
Sean, Thanks a million ... using $MainWindow-InvalidateRect(0); did the trick! Jonathan At 6/4/2002 05:40 AM, you wrote: The text gets to the last position in the richedit control fine but the whole control isn't refreshed properly. There are grey lines through the control and the

[perl-win32-gui-users] Richedit: word wrap and still a refresh problem

2002-06-03 Thread Jonathan Southwick
I have a richedit control defined as follows: # define Message richedit $MainWindow-AddRichEdit( -name = Message, -top=125, -left = 10, -width = $MainWindow-ScaleWidth - 25, -height = 65, -tabstop = 1, -addstyle= WS_CHILD |

[perl-win32-gui-users] RichEdit update

2002-05-30 Thread Jonathan Southwick
I have a routine that updates my richedit control but while it is getting updated the control does not refresh properly. Here is my code: sub UpdateResults { my ($text,$format) = @_; $MainWindow-Results-SetCharFormat(@{$ResultsTextFormat{$format}});

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

2002-05-21 Thread Jonathan Southwick
Thanks. I never thought it could be that easy!. Jonthan At 5/21/2002 09:14 AM, Johan Lindstrom wrote: At 12:29 2002-05-20 -0400, Jonathan Southwick wrote: Is there a way to make labels appear sunken ... or any widget for that matter? Try adding this option when you create the label

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

2001-11-26 Thread Jonathan Southwick
://dada.perl.it site and see what you get. If you get Aldo's Perl site then try the ppm install I showed, otherwise you have bigger problems. Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 11/23/2001 02:32 PM, you wrote: I too

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

2001-11-16 Thread Jonathan Southwick
Here is the way to get rif of multiple selections: in your ListView definition add: -singlesel= 1, Thanks to [EMAIL PROTECTED] for pointing this out. Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 11/15/2001 08

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

2001-11-15 Thread Jonathan Southwick
At 11/14/2001 05:06 PM, you wrote: Is there a way to prevent a ListView in details mode from allowing the user to select more than one line? Add this to your ListView definition: -multisel = 0, Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College

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

2001-11-15 Thread Jonathan Southwick
I should have tried it before I sent out the message because it doesn't seem to be working. Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 11/15/2001 08:36 AM, you wrote: At 11/14/2001 05:06 PM, you wrote

[perl-win32-gui-users] Bold and unbold in RichEdit

2001-11-09 Thread Jonathan Southwick
field? Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755

Re: [perl-win32-gui-users] Bold and unbold in RichEdit

2001-11-09 Thread Jonathan Southwick
Thanks a zillion Now I can have alternating colors instead producing a better effect. Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 11/9/2001 02:39 PM, you wrote: At 08:18 2001-11-09 -0500, Jonathan Southwick

[perl-win32-gui-users] Wordwrap in RichEdit

2001-11-08 Thread Jonathan Southwick
? Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755

Re: [perl-win32-gui-users] Default in Button Definition

2001-11-08 Thread Jonathan Southwick
Never mind I figured it out! I needed the: $Window-{-dialogue} = 1; Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 11/8/2001 01:41 PM, Jonathan Southwick wrote: Another problem I am having. I would like the user

[perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Jonathan Southwick
. Is there a way to do this? Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755

Re: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Jonathan Southwick
I tried that and it does not scroll to the end of the RichEdit field, it just places the cursor there. I even tried to add a SetFocus and that doesn't help. Anyone else have any ideas? Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335

Re: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Jonathan Southwick
Thanks, that worked. Now to get the dumb word wrap to work. Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 11/8/2001 02:52 PM, you wrote: At 02:43 PM 11/8/01, Jonathan Southwick wrote: I tried that and it does

RE: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Jonathan Southwick
| WS_VSCROLL | ES_READONLY, -addexstyle= WS_EX_CLIENTEDGE, ); I don't know what I am doing wrong that makes it not work. Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 11/8/2001 03:11 PM, you wrote: You might

Re: [perl-win32-gui-users] TreeView... how to detect right-mouse click (and coords...)

2001-06-14 Thread Jonathan Southwick
. I hope this helps. Jonathan --- Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 At 6/14/2001 02:48 PM, you wrote: Dear fellow GUI fans, Say I want have a right-mouse-click driven

Re: [perl-win32-gui-users] ListView Item Click and Windows 2000

2001-06-13 Thread Jonathan Southwick
? Jonathan -- Jonathan Southwick [EMAIL PROTECTED] Technical Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 6/13/2001 08:48 AM, you wrote: Jonathan, I didn't even notice you'd put Windows 200 until you sent the second email. Its a shame about the ItemClick

Re: [perl-win32-gui-users] ListView Item Click and Windows 2000

2001-06-13 Thread Jonathan Southwick
Kevin, I just tried something on my program and it seemed to work just fine. My guess is you have -hotrack = 1 in your defined ListView object. try taking that out and see if you get the results you want. Jonathan -- Jonathan Southwick

Re: [perl-win32-gui-users] ListView Item Click and Windows 2000

2001-06-12 Thread Jonathan Southwick
Heh ... I meant Windows 2000; just trying my best to short-change Microsoft whenever i can. ;] And double-lick event? You'd think I was talking about a lollipop or something. ;] Later days ... Jonathan -- Jonathan Southwick [EMAIL PROTECTED] Technical Network Services

Re: [perl-win32-gui-users] Textfield on top of a Listview

2001-05-21 Thread Jonathan Southwick
describe. -- Johan Lindström, Sourcerer, Boss Casinos Ltd, Antigua [EMAIL PROTECTED] ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users Jonathan Southwick [EMAIL

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

2001-03-29 Thread Jonathan Southwick
Erick, Hey, thanks for letting me know what you did to correct it so that I don't make the same mistake in the future. I was racking my brain trying to figure out what was wrong. Jonathan - Original Message - From: Erick J. Bourgeois [EMAIL PROTECTED] To:

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

2001-03-29 Thread Jonathan Southwick
: Jonathan Southwick [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2001 10:31 To: [EMAIL PROTECTED] Subject: [perl-win32-gui-users] desktop Is there any way to blackout the desktop (as a screensaver would) using the GUI module? I still want to be able to show my own windows I

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

2001-03-14 Thread Jonathan Southwick
Lance, In your sub where the user closes (terminates) the window containing the RichEdit control try adding this: $RichEdit-Text(); where $RichEdit is the name that you have given your RichEdit control. Jonathan Southwick Technical Network Services Allegheny College, Meadsville, PA [EMAIL

Re: [perl-win32-gui-users] RE: [perl-win32-gui-users]Why Do I have to use the Mouse???

2001-03-13 Thread Jonathan Southwick
Add the following before your $W -Show;: $W-{-dialogui} = 1; and it should make the Window act like a DialogBox. Use Jeremy's suggestion to put the cursor in the textfield. Jonathan Southwick Technical Network Services Allegheny College, Meadsville, PA [EMAIL PROTECTED] - Original

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

2001-03-05 Thread Jonathan Southwick
Joe, Try this as your ComboBox construct: $CBdropdown = $Window-AddCombobox( -name = Dropdown, -left = 10, -top= 25, -width = 180, -height = 400, -addstyle = WS_VISIBLE | 2 | WS_VSCROLL | WS_NOTIFY, ); Jonathan Southwick Technical Network Services

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

2001-02-23 Thread Jonathan Southwick
. Jonathan Southwick Technical Network Services Allegheny College, Meadsville, PA [EMAIL PROTECTED] - Original Message - From: Simon Taylor - Tegel [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Sent: Thursday, February 22, 2001 8:44 PM Subject: [perl-win32-gui-users] Dr Watson

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

2001-02-20 Thread Jonathan Southwick
me understand what you are saying is happening. Thanks. Jonathan Southwick Technical Network Services Allegheny College, Meadsville, PA [EMAIL PROTECTED] - Original Message - From: Erick J. Bourgeois [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Sent: Tuesday

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

2001-02-20 Thread Jonathan Southwick
. would you have a problem in sending me the entire program so i could run it and try to make a determination from that and looking at the full source code at the same time? Jonathan Southwick Technical Network Services Allegheny College, Meadsville, PA [EMAIL PROTECTED] Jonathan, You asked me

[perl-win32-gui-users] Menu and checkmarks

2001-02-19 Thread Jonathan Southwick
Is there anyway to make the checkmarks be dots in a menu where a user has a choice to select something? Jonathan Southwick Technical Network Services Allegheny College, Meadsville, PA [EMAIL PROTECTED]

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

2001-01-22 Thread Jonathan Southwick
Maybe, just maybe, this will work. Add the following to your window declaration: -minsize= [$minwidth,$minheight], -maxsize= [$maxwidth,$maxheight], I know the -minsize works because I use it in one of my programs but never tried the maxsize. - Original Message - From: Erick J.

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

2001-01-12 Thread Jonathan Southwick
{$_} = $sortthis; } return(%sortcol); } === That should be all you need. If you have any more questions i will TRY to answer them. Jonathan Southwick Technical Network Services Allegheny College, Meadsville, PA [EMAIL PROTECTED] - Original

Re: [perl-win32-gui-users] a simple question

2001-01-10 Thread Jonathan Southwick
What you need is: $ModuleWindow-Caption(new title); Jonathan Southwick Technical Network Services Allegheny College, Meadsville, PA [EMAIL PROTECTED] - Original Message - From: christopher sagayam [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Sent: Tuesday, January

Re: [perl-win32-gui-users] newbie - trying to get data from text box

2001-01-08 Thread Jonathan Southwick
FW: [perl-win32-gui-users] newbie - trying to get data from text boxYes that is also possible. Try this: To set the cursor in the textfield: $Frame-aTextField-SetFocus(); Jonathan Southwick Technical Network Services Allegheny College, Meadville, PA [EMAIL PROTECTED] - Original