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
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
Jonathan Southwick
[EMAIL PROTECTED]
Technical Network Services
Allegheny College
Meadville, PA 16335
(814) 332-2755
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
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
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
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
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
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
]
(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
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
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
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
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
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
what I am talking about.
Jonathan
Jonathan Southwick
[EMAIL PROTECTED]
Technical Network Services
Allegheny College, Meadville, PA 16335
(814) 332-2755
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
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
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
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
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
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
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
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
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
(
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
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
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
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
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
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
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 |
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}});
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
://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
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
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
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
field?
Jonathan Southwick
[EMAIL PROTECTED]
Technical Network Services
Allegheny College, Meadville, PA 16335
(814) 332-2755
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
?
Jonathan Southwick
[EMAIL PROTECTED]
Technical Network Services
Allegheny College, Meadville, PA 16335
(814) 332-2755
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
. Is there a way to do this?
Jonathan Southwick
[EMAIL PROTECTED]
Technical Network Services
Allegheny College, Meadville, PA 16335
(814) 332-2755
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
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
| 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
.
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
?
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
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
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
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
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:
: 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
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
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
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
.
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
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
. 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
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]
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.
{$_} = $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
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
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
64 matches
Mail list logo