Re: [perl-win32-gui-users] Event subroutines not called

2006-08-29 Thread Peter Eisengrein
Works fine for me. Perl v5.8.3 Win-GUI 0.0.558 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Arthur Schwarz Sent: Monday, August 28, 2006 2:20 PM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Event subroutines not

RE: [win32-gui] [perl-win32-gui-users] Examples needed.

2006-04-14 Thread Peter Eisengrein
By disabled I mean literally the grayed out condition allowing the user to see (and scroll through) the list but preventing the user from checking/unchecking any checkboxes. If I set disabled = 1, in AddListView the control is definately disabled ... but it doesn't allow the user to

RE: [perl-win32-gui-users] Auto focus on a listview or textfield

2006-04-11 Thread Peter Eisengrein
I want to make an auto focus on a listview or a textfield when i make it appears. Like that, the user don t have to click on it to make mouse scrolling. $widget-SetFocus(); ps: sorry for my poor english, i'm french student learning english :D No problem. There are a lot of people

RE: [perl-win32-gui-users] how to make a MessageBox the top most dialog ?

2006-04-10 Thread Peter Eisengrein
is there a way to make a MessageBox the top most dialog while looking for some win32 window ? When you construct $MainWin you can use: -topmost = 1, Or if you just want to bring it to the foreground at somepoint you can also use: $MainWin-SetForegroundWindow();

RE: [perl-win32-gui-users] DOS Window minimized?

2006-04-06 Thread Peter Eisengrein
if ($DOS = minimized) { Win32::GUI::Hide($DOS); } Try if ($DOS-IsIconic) { Win32::GUI::Hide($DOS); }

[perl-win32-gui-users] RE: Win32-GUI and PPM problem

2006-01-23 Thread Peter Eisengrein
Error: no suitable installation target found for package Win32-GUI. I've done some more poking around and it seems that this error is usually when a package was made with an older version of perl (can anyone confirm?). So, I uninstalled the version of perl that is on that machine (5.8.7) and

RE: [perl-win32-gui-users] Win32-GUI and PPM problem

2006-01-17 Thread Peter Eisengrein
There have been lots of changes and fixes since 0.0.558, but I'm surprised it breaks your code. Can you give examples? It gives and error for this line: $Window-Editor-SendMessage(1093, 0, 1); Now, it has been a couple years since I wrote this and I honestly don't recall why this is there

[perl-win32-gui-users] Win32-GUI and PPM problem

2006-01-16 Thread Peter Eisengrein
It's been a while since I've installed Win32::GUI. When I download the latest version it installed fine but there's errors with my code, which was written when 0.0.558 was the latest. I have a copy of the ppd, etc, for 0.0.558 but I can't seem to install it. It would appear that there are also

RE: [perl-win32-gui-users] timer do not work

2005-08-03 Thread Peter Eisengrein
Здравствуйте, perl-win32-gui-users, I wrote simple script with timer. It's supposed that timer hides/shows main window but window is always visible. What's the matter? Your if() logic in CheckDir_Timer sub. If you look closely, you will see that the window gets hidden and then shown

RE: Re[4]: [perl-win32-gui-users] timer do not work

2005-08-03 Thread Peter Eisengrein
You absolutely right. It was stupid mistake. But! Timer do not work as before though I declared $mw as our (not my) (Steve Lloyd advice) and corrected event handler. It's like that handler not executed at all. I have Win32-GUI 1.02, perl 5.8.6 and Windows98SE I don't think my or our will

RE: [perl-win32-gui-users] Mouse click event on the main window

2005-05-12 Thread Peter Eisengrein
I am new to Win32::GUI. I would like to open a simple, plain, main window, with only label objects on it, let say, and intercept a mouse click anywhere on the client area, so that, depending on where the click happens (Win32::GUI::GetCursorPos()), different actions can be taken. It

RE: [perl-win32-gui-users] Button disabled ?

2004-12-03 Thread Peter Eisengrein
I would change it to: $my_but-Enable(); $my_but-Disable(); instead of trying to change the -disabled parameter of the button itself. -Original Message- From: Vassiliy Truskov [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 3:55 PM To:

RE: [perl-win32-gui-users] Button disabled ?

2004-12-03 Thread Peter Eisengrein
Any recommendation about Win32::GUI documentation? I red attached with the module, but it is not covering everything very much. Jeb created a website/project for the documentation. Not sure how complete it is, but I'm sure it's a good place to start:

RE: [perl-win32-gui-users] Combobox problem taken care of, but no w...

2004-09-24 Thread Peter Eisengrein
I'm making good version on my project, but not being able to tab between fields makes it kind of useless... Another one I just noticed, is there a way to set the focus to a field? $Window-widgetname-SetFocus();

RE: [perl-win32-gui-users] Internationalization and Win32::GUI

2004-05-11 Thread Peter Eisengrein
There are lots of ways to do this. In my case, I have over a thousand controls (sounds a lot, but when you add up all the labels, group boxes etc!), so maintaining a perl hash becomes problematic - ideally, the translations should be in a separate file or database, so they can be worked on

RE: [perl-win32-gui-users] Always on top ...

2004-05-10 Thread Peter Eisengrein
Yes, add the following to your Window: -topmost = 1, -Original Message- From: marc iton [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 6:18 AM To: Perl-Win32-GUI-Users@lists.sourceforge.net Subject: [perl-win32-gui-users] Always on top ... Hi, there is a way to set a

RE: [perl-win32-gui-users] Is there anyway to capture a click eve nt for a TextField control

2004-05-10 Thread Peter Eisengrein
would this work? if ($TextField-GotFocus()) { ... } -Original Message- From: Frazier, Joe Jr [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 10:50 AM To: Win32GUI Subject: [perl-win32-gui-users] Is there anyway to capture a click event for a TextField control I have an app

RE: [perl-win32-gui-users] Work Arround to hide tray icon

2004-04-15 Thread Peter Eisengrein
You can also get rid of it with: $ni-DESTROY; (assuming $ni is the current NotifyIcon) -Original Message- From: Sherif Mohamed [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 6:08 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Work

RE: [perl-win32-gui-users] Dynamic popup menus

2004-02-27 Thread Peter Eisengrein
I've done something like this with a NotifyIcon (see below). I'm guessing you could probably do the same with a regular menu. sub ni_click { if ($Window-IsVisible) { if ($Window-IsIconic) { $menu = new Win32::GUI::Menu(

RE: [perl-win32-gui-users] notify icon bug 0.0.670?

2004-01-30 Thread Peter Eisengrein
Hmm. I don't recall a 0.0.580 release. I thought they jumped from 0.0.558 to 0.0.665. D'oh. Yeah, I meant 558. If you meant 0.0.558, should we also assume that changing versions of Win32::GUI was all you changed? That the script is still using OEM (old event model)? Um, I guess

RE: [perl-win32-gui-users] Scroll bar example

2004-01-16 Thread Peter Eisengrein
You want to add the buttons to the tab, not a child window. So remove all the child window stuff and change $childwin-AddButton to $win-Tab-AddButton and now $win will remain in focus. -Original Message- From: Jez White [mailto:[EMAIL PROTECTED] Sent: Friday, January 16,

RE: [perl-win32-gui-users] Avoiding applications hanging?

2004-01-15 Thread Peter Eisengrein
You can do this a number of ways. In order to allow a user to close the Icon and thus the app, you need to call Win32::GUI::Dialog, right. You can each launch the code to run in the background two ways: 1- have a button or something else on the Window to start it, or 2- use the Timer method to

RE: [perl-win32-gui-users] The rebar control

2004-01-13 Thread Peter Eisengrein
Jez, you're almost there!!! Change these lines: $rebar-InsertBand (-text = 'one' , -image = 0); $rebar-InsertBand (-text = 'two' , -image = 1); $rebar-InsertBand (-text = 'thee', -image = 2); to $rebar-InsertBand (-text = 'one' , -image = $IMG_ONE); $rebar-InsertBand (-text = 'two' ,

RE: [perl-win32-gui-users] RFC: Yet another event model, anyone?

2004-01-05 Thread Peter Eisengrein
I don't have a lot of feedback other than: 1- I like the OO idea. I do think it is worthwhile if you've got the time and energy :-) I particularly think it is a good idea because, as you put it, you won't be able to clobber other windows and you can keep better control over where an event came

RE: [perl-win32-gui-users] Child Windows.

2003-12-01 Thread Peter Eisengrein
However, if you are just looking to run an app in the background like a service, you do not need to make it a gui (probably not the most efficient solution). In that case, check out Win32::Daemon -Pete -Original Message- From: Peter Eisengrein Sent: Monday, December 01, 2003 8:02 AM

RE: [perl-win32-gui-users] Removing checkboxes

2003-10-20 Thread Peter Eisengrein
I don't think this will work, but maybe $checkbox-Hide() ? If not, you could create a blank Label to cover it. -Pete -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 1:42 PM To: perl-win32-gui-users@lists.sourceforge.net Subject:

RE: [perl-win32-gui-users] Dynamically changing foreground and ot her options

2003-08-14 Thread Peter Eisengrein
Not sure about your first question, but to enable/disable a menu item use: $filemenu-{'Open'}-Enabled(0); # disable $filemenu-{'Open'}-Enabled(1); # enable -Original Message- From: Erik Shön [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 4:07 PM To:

RE: [perl-win32-gui-users] Dynamic entrys

2003-07-28 Thread Peter Eisengrein
Let's start with a basic question: What type of widget is $main-MECH$x ? Does this work part way and then crash or does it crash on the first attempt? -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Saturday, July 26, 2003 8:22 AM To:

RE: [perl-win32-gui-users] Doevent problem in minimised window - Please help

2003-05-28 Thread Peter Eisengrein
Note sure why it stops when minimized, I assume it is a scope issue and is supposed to happen. Nevertheless, change your for() loop to a _Timer event and it [1] should work, [2] be more Windows-y, and [3] allow you to do other things with the window in between counts (whereas sleep will only

RE: [perl-win32-gui-users] Simple window (new to win32::gui)

2003-05-06 Thread Peter Eisengrein
So far so good. What you neglected to do was tell it to show the window. When you create the window it is hidden by default. Try adding $window-Show(); -Pete -Original Message- From: Bored is me [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2003 3:56 PM To:

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

2003-04-25 Thread Peter Eisengrein
There may be a better way, but here are two possible ways: ### THIS WILL BRING UP THE SAME PRINT WINDOW AS USED BY WEB BROWSER $dll = $ENV{'WINDIR'}/System32/mshtml.dll; system(rundll32.exe $dll,PrintHTML $file); -OR- ### THIS MAY OR MAY NOT GIVE THE BEST RESULTS

RE: [perl-win32-gui-users] Silly question

2003-04-24 Thread Peter Eisengrein
I don't believe destroying the window will regain the memory, so a simple Hide() may suffice. Generally what I'll do when I want to permanently get rid of it, though, is to localize the building of that window and all associated $vars within a subroutine. Then, Hide() the window before you

RE: [perl-win32-gui-users] Strange mouse behaviour

2003-04-15 Thread Peter Eisengrein
Take a look at where you put your Win32::GUI::Dialog(); line. I believe it will remain an hourglass until you give the control over to the user input. -Original Message- From: Cruickshanks, Darin [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2003 5:10 AM To: Perl-Win32-Gui-Users

RE: [perl-win32-gui-users] Timer-Object-Question

2003-04-11 Thread Peter Eisengrein
You've set up the _Timer properly. Perhaps you can share some more code? Also, you never finished your DialogBox question. -Original Message- From: Christian Kappler [mailto:[EMAIL PROTECTED] Sent: Friday, April 11, 2003 4:58 AM To: Perl-Win32-GUI Mailinglist Subject:

RE: [perl-win32-gui-users] How reset a windows ?

2003-04-07 Thread Peter Eisengrein
It you just want to hide button it is as easy as $Button-Hide(); If this is not what you mean, please ask again and show some code. -Original Message- From: NAHUM Marc [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2003 6:31 AM To: perl-win32-gui-users Subject: [perl-win32-gui-users]

RE: [perl-win32-gui-users] How reset a windows ?

2003-04-07 Thread Peter Eisengrein
To: Peter Eisengrein; perl-win32-gui-users Subject: Re: [perl-win32-gui-users] How reset a windows ? I 'va somethink like this : $add_ok=0; if ($nbr_imp450){$add_ok=1} $Win_select_srv-AddButton( -text= $$Win_select_srv_text7_use, -name

RE: [perl-win32-gui-users] Refresh Listview

2003-03-20 Thread Peter Eisengrein
Found it. Put this at the top of your ScanButton_Click sub to clear the listview each time. $MainWin-ListView-Clear(); -Original Message- From: Peter Eisengrein Sent: Thursday, March 20, 2003 4:55 PM To: '[EMAIL PROTECTED]'; perl-win32-gui-users@lists.sourceforge.net Subject: RE: [perl

[perl-win32-gui-users] COM port logger

2003-02-19 Thread Peter Eisengrein
Before I go and re-invent the wheel I figured I'd ask if anyone has a simple script to connect to a PC's COM port, listen, and log to a file whatever data it receives. Anyone have anything like that they'd be willing to share? TIA, Pete

RE: [perl-win32-gui-users] COM port logger

2003-02-19 Thread Peter Eisengrein
Thanks for the tip. Still not quite what I'm after. I currently use WRQ's Reflections to connect and log the info. I wrote a server that runs on that machine to hand off the data in the log file to other systems. However, this requires someone to manually change the log file each day and, well,

[perl-win32-gui-users] gui perl file extension

2003-02-03 Thread Peter Eisengrein
Is there a file extension currently in use for Win32::GUI scripts? If so, what? If not, should there be? I know it would make it easier (for me :) to list just those scripts if they used a different extension than the standard .pl . It would also make it easier to know when to use perl and when to

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

2003-01-16 Thread Peter Eisengrein
Does it do anything else besides use the timers 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

[perl-win32-gui-users] odd hash behavior

2002-11-22 Thread Peter Eisengrein
The script below outputs the correct $number (hash key) but for some reason it also outputs the value. What gives? -Pete ### use strict; my %countother; print File: ; chomp(my $file=STDIN); open(FILE,$file) || die can't open file : $!\n; foreach (FILE) {

RE: [perl-win32-gui-users] need subroutine to run when Window get s focus

2002-11-13 Thread Peter Eisengrein
Not sure of the exact syntax but it would be something like: if ($Window-GetFocus()) { do_something; } -Original Message- From: Jonathan Southwick [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 13, 2002 11:45 To: perl-win32-gui-users@lists.sourceforge.net Subject:

RE: [perl-win32-gui-users] force a tab selection from a tabstri p

2002-10-30 Thread Peter Eisengrein
$tabstrip1-Select(0); # selects the 1st tab $tabstrip1-Select(1); # selects the 2nd tab $tabstrip1-Select(2); # selects the 3rd tab ...etc... -Original Message- From: Magnone, Angelo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 30, 2002 13:51 To: [EMAIL PROTECTED] Sourceforge.

RE: [perl-win32-gui-users] force a tab selection from a tabstri p

2002-10-30 Thread Peter Eisengrein
, October 30, 2002 14:19 To: 'Peter Eisengrein'; Magnone, Angelo; [EMAIL PROTECTED] Sourceforge. Net (E-mail) Subject: RE: [perl-win32-gui-users] force a tab selection from a tabstri p I believe this will only show the actual tab you selected. I'm using GUI LOFT and what I'd like to do is force

RE: [perl-win32-gui-users] Hello All

2002-10-29 Thread Peter Eisengrein
my ($DOS) = Win32::GUI::GetPerlWindow(); Win32::GUI::Hide($DOS); You can also Win32::GUI::Show($DOS); it if you want to (I find this useful in debugging, so I'll usually add some *secret* way to do this (like type debug on within a RichEdit or Textbox -- shhh, top secret!). -Original

RE: [perl-win32-gui-users] Latest Documentation?

2002-10-23 Thread Peter Eisengrein
For me, I would just have to say Thanks Aldo, your work has made mine much better! Same here! If he is so unhappy with it, let him write his own GUI module. Thanks Aldo, Pete

RE: [perl-win32-gui-users] printer support

2002-10-23 Thread Peter Eisengrein
I've only seen it done with a system() call to rundll32.exe. Something like this: # untested $dll = /Winnt/System32/mshtml.dll; system(rundll32.exe $dll,PrintHTML $file); -Original Message- From: Magnone, Angelo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 23, 2002 13:57

RE: [perl-win32-gui-users] double click buttons

2002-10-22 Thread Peter Eisengrein
this ought to work... if ($Window-IsVisible) { $Button-Disable(); } -Original Message- From: Magnone, Angelo [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 11:30 To: [EMAIL PROTECTED] Sourceforge. Net (E-mail) Subject: [perl-win32-gui-users] double click buttons

RE: [perl-win32-gui-users] How to highlight

2002-09-25 Thread Peter Eisengrein
Not sure why it's not working, without seeing some code. Checkout the 'listbox.pl' in the samples that should've come with the module. That works just fine. Let me know offline if you don't have it and I'll send it to you. -Original Message- From: Burley, David [mailto:[EMAIL PROTECTED]

RE: [perl-win32-gui-users] Q: Resize problem maximising from wind ows toolbar

2002-09-03 Thread Peter Eisengrein
Besides resizing the window, you need to move the other objects, using something like this: $Window-Logo-Move($Window-ScaleWidth-325,0); This is actual piece of code. It moves a bitmap 'Logo' 325 pixels to the left of the right side but does not move it up or down when the window is resized.

RE: [perl-win32-gui-users] first app ?

2002-08-26 Thread Peter Eisengrein
The subs are called by events, such as Click, RightClick, etc. Any handle such as Hello (which in this case is defined as the name of the button) can have one or more of these actions assigned to them. The convention for these subs is Name_Event where _Event is appended to the widget's name, i.e.

RE: [perl-win32-gui-users] Context Menus

2002-07-08 Thread Peter Eisengrein
First you set up your $menu. Then it is done something like this... I have a script that does this when a user Click's on a NotifyIcon, so within the sub ni_Click there is: my ( $nipx, $nipy ) = Win32::GUI::GetCursorPos (); $Window-TrackPopupMenu( $menu - {'PopUpMenu'}, $nipx, $nipy ); HTH,

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

2002-06-19 Thread Peter Eisengrein
Anyway, the Message shortcuts are stored (sorted) in a Message menu. When they click on the message shortcut the text of the message is placed in a message box for them. That part all works. The user is able to add their own message shortcuts to the menu but they don't appear

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

2002-05-17 Thread Peter Eisengrein
There is an 'accelerator' method which does what I think you want but I've never been able to make it work. You can fake some of it if the keystroke has an associated number value. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 16, 2002 20:11

RE: [perl-win32-gui-users] status bar

2002-04-22 Thread Peter Eisengrein
In your _Resize sub do not resize the status bar, just move it (so that it's always at the bottom). If you do nothing then it will always hold its original position which is probably not what you want. $Window-Status-Move(0, $Window-ScaleHeight-$Window-Status-Height); -Original

RE: [perl-win32-gui-users] Windows help (winhlp32)

2002-04-03 Thread Peter Eisengrein
use Win32::GUI; $Menu = Win32::GUI::MakeMenu( Help = Help, Winnt Help = helpme, ); $Win = new Win32::GUI::Window( -left = 100, -top= 100, -width = 300, -height = 300, -name = Window, -text = Win32::GUI Help Menu, -menu = $Menu, );

RE: [perl-win32-gui-users] newbie ? - creating PPM's

2002-03-20 Thread Peter Eisengrein
You can also download the zip file of the latest and do the following: 1- extract contents to a directory 2- find the file Win32-GUI.ppd 3- open a DOS window and cd to the same directory as the ppd file 4- type, ppm Win32-GUI.ppd That should install it. You should be able to get the latest zip

RE: [perl-win32-gui-users] AddLabel method problem

2002-02-14 Thread Peter Eisengrein
You are missing some important stuff, like, where does it go? However, the error is probably happening because the label doesn't have a name. The documentation is not at all complete but the basics are there: http://www.perl.it/dada/gui_docs/gui.html -Pete -Original Message- From:

RE: [perl-win32-gui-users] Graying out checkbox

2002-02-11 Thread Peter Eisengrein
$Win-CB-Enable(0); # grayed out $Win-CB-Enable(1); # normal -Original Message- From: Christian Kappler [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2002 17:09 To: Perl-Win32-GUI Mailinglist Subject: [perl-win32-gui-users] Graying out checkbox Hello listers, I would

RE: [perl-win32-gui-users] Keyboard accelerators possible?

2002-01-14 Thread Peter Eisengrein
It does exist as method Win32::GUI::AcceleratorTable . I've never been able to make it work, but perhaps someone else can lend a hand. From the .pm... # Example: # $A = new Win32::GUI::AcceleratorTable( # Ctrl-X = Close, # Shift-N = New, # Ctrl-Alt-Del =

RE: [perl-win32-gui-users] changing systray icon?

2001-12-24 Thread Peter Eisengrein
Here is a repost of how to do it, written by Jason Bingham. From: Jason Bingham [EMAIL PROTECTED] Sent: 27 August 2001 03:26 To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-users] RE:

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

2001-12-20 Thread Peter Eisengrein
couple questions: 1- has anyone used this sucessfully? if so, do you have any code to share? 2- reading the POD for this it says you need to add some lines to the GUI.xs and nmake it. I do not have nmake on my NT4 system. Can I ftp gui.xs to a unix box, nmake it there, and ftp it back? (would

RE: [perl-win32-gui-users] DoEvents() warning

2001-12-13 Thread Peter Eisengrein
that usually happens when you ask it to do something with a widget that is either out of scope or not yet defined. need more detail to be more specific, tho' -Pete -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: 12 December 2001 19:09 To:

RE: [perl-win32-gui-users] where find guibuilder ?

2001-11-19 Thread Peter Eisengrein
I've not heard of GUI Builder. Does it do what it sounds like, has a GUI interface to help design a Win32::GUI window by (hopefully) allowing the user to dragndrop widgets onto a window and it converts it to the appropriate code? -Original Message- From: Piske, Harald [mailto:[EMAIL

RE: [perl-win32-gui-users] Cancel action requests

2001-11-16 Thread Peter Eisengrein
Try using a _Timer instead of the while loop. -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: 16 November 2001 12:09 To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Cancel action requests I hope somebody can help on this one. I

RE: [perl-win32-gui-users] Context Menus

2001-11-15 Thread Peter Eisengrein
You can create a Label the same size as the window (with or without text) and react to double-click and right-click events on it. That's the only way I've been able to do it. -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: 15 November 2001 09:34 To:

RE: [perl-win32-gui-users] fork and LostFocus problems

2001-11-14 Thread Peter Eisengrein
Try adding $Win1-DoEvents(); to the mouseover sub. This might help catch any other events while you are waiting for the mouseover to finish. -Original Message- From: Rogers, John [mailto:[EMAIL PROTECTED] Sent: 14 November 2001 08:41 To: perl-win32-gui-users@lists.sourceforge.net

RE: [perl-win32-gui-users] Text boxes -- Interactive

2001-11-13 Thread Peter Eisengrein
November 2001 23:52 To: Peter Eisengrein Subject: RE: [perl-win32-gui-users] Text boxes -- Interactive Hi Peter, Thanks... Small problem though these fields double echo keyboard input. An improvement :) but still a problem. --Steve At 08:18 AM 11/12/01

RE: [perl-win32-gui-users] Text boxes -- Interactive

2001-11-12 Thread Peter Eisengrein
Two Textfields from the sample textfield.pl ### Single line, colored $Textfield = $Window-AddTextfield( -name = Textfield, -left = 10, -top = 10, -text = sample text, -width= 180, -height = 22, -foreground = [0,255,0], -background = [0,0,0],

RE: [perl-win32-gui-users] Tab through buttons and textfields

2001-11-08 Thread Peter Eisengrein
On each widget that you want to be able to tab to/from you need to add -tabstop = 1, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 08 November 2001 12:07 To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Tab through buttons

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

2001-11-08 Thread Peter Eisengrein
You might also try adding ES_AUTOVSCROLL to the RichEdit's -style This can be problematic, though. As I recall, it refreshes the RichEdit's data every time there's new data added. Of course, my memory ain't what it used to be, so I may be way off... :) -Original Message- From: Morbus

RE: [perl-win32-gui-users] Embedding a browser window of some sor t?...

2001-09-21 Thread Peter Eisengrein
Not sure exactly what you're asking but the easiest way I've found to open html files with the users' preferred browser is to let the OS decide and simply execute that file like so: `\\path\\filename.htm`; This works on NT4, but I doubt it would work on Win9x/ME. If that's the OS you're

RE: [perl-win32-gui-users] 1st tutorial

2001-09-13 Thread Peter Eisengrein
the samples didn't come with the module download? I can zip 'em and send to you off line, if you'd like. -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: 13 September 2001 17:14 To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] 1st tutorial

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

2001-08-22 Thread Peter Eisengrein
I recall seeing this question before but don't seeing an answer and couldn't find it in the archives. How can you change the -icon after it already exists in the system tray? TIA, Pete

RE: [perl-win32-gui-users] Some beginners questions

2001-08-08 Thread Peter Eisengrein
- Is it somehow possible to catch keyboard events? I did not find anything in the Win32::GUI docu except for some _KeyDown event which was associated to a single object. I know you can use _KeyPress to catch keyboard events. I know it works in a RichEdit, don't know about elsewhere. I

RE: [perl-win32-gui-users] bug_or_feature [1]

2001-08-05 Thread Peter Eisengrein
Not sure what the '-escapement' tag in the font was supposed to do but when I removed it the label became visible. -Original Message- From: Renat Araslanow [mailto:[EMAIL PROTECTED] Sent: 04 August 2001 15:53 To: perl-win32-gui-users@lists.sourceforge.net Subject:

RE: [perl-win32-gui-users] bug_or_feature [1]

2001-08-05 Thread Peter Eisengrein
duh. you said that. I must need more coffee... -Original Message- From: Peter Eisengrein Sent: 05 August 2001 11:58 To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-users] bug_or_feature [1] Not sure what the '-escapement' tag in the font

[perl-win32-gui-users] Kill event?

2001-07-10 Thread Peter Eisengrein
Is there a Kill or other such event if a GUI app crashes or killed? Or should that just be handled with %SIG it would be awfully convenient if you could do something like: sub Exit { return -1; } sub Window_Terminate { print App closed gracefully.\n; Exit(); } sub

RE: [perl-win32-gui-users] Change cursor to hourglass and back?

2001-07-05 Thread Peter Eisengrein
) $Window-Button-ChangeCursor($C); $Window-Label-ChangeCursor($C); -Original Message- From: Peter Eisengrein Sent: Thursday, July 05, 2001 9:07 AM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-users] Change cursor to hourglass and back? Win32

RE: [perl-win32-gui-users] Change cursor to hourglass and back?

2001-07-05 Thread Peter Eisengrein
Win32::GUI::Cursor should do it (though I've never used it) -Original Message- From: Felix Gaehler [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 04, 2001 4:18 PM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Change cursor to hourglass and back?

RE: [perl-win32-gui-users] Formatting of text in a RichEdit

2001-07-03 Thread Peter Eisengrein
I've never had any success changing it once it is created, but to set the font at the beginning you can use: my $Font = new Win32::GUI::Font( -name = Courier New, -height = 16, -bold = 0, ); ### or the font/style of your choice... ### and then in your AddRichEdit use

[perl-win32-gui-users] detect if window is minimized

2001-07-02 Thread Peter Eisengrein
I know you can check to see if a window is shown or hidden via $Window-IsVisible but can't seem to find something similar to check if it is minimized or maximized. Thanks, Pete

[perl-win32-gui-users] Disable menu item?

2001-06-26 Thread Peter Eisengrein
How can you disable (grey-out) an item in a menu? I don't see anything in the docs and it has ignored everything I have tried, including the obvious: $Window-Menu-{MenuItem}-Disable();

RE: [perl-win32-gui-users] Disable menu item?

2001-06-26 Thread Peter Eisengrein
); Peter Eisengrein wrote: How can you disable (grey-out) an item in a menu? I don't see anything in the docs and it has ignored everything I have tried, including the obvious: $Window-Menu-{MenuItem}-Disable(); ___ Perl-Win32-GUI

RE: [perl-win32-gui-users] Updating a window.

2001-06-26 Thread Peter Eisengrein
It sounds like you want a timer. ### untested @stuff = (0 .. 1000); $main-AddTimer(Timer, 1000); ### once every second. sub Timer_Timer { $x++; $sb-Text(Incrementing value: $stuff[$x]); } -Original Message- From: Louis Bohm [mailto:[EMAIL PROTECTED] Sent:

[perl-win32-gui-users] RE: [perl-win32-gui-users] ListBox, -mu ltisel and Select() problems

2001-06-15 Thread Peter Eisengrein
from the samples, here's a select all. I suppose you could modify it to select just some... sub AddAll_Click { for $i (0..$List1-Count-1) { $List2-InsertItem($List1-GetString($i)); } $List2-Select($List2-Count-1); $Edit2-Text($List2-GetString($List2-SelectedItem));

RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?

2001-06-05 Thread Peter Eisengrein
to work through the firewall there -Original Message- From: Peter Eisengrein [mailto:[EMAIL PROTECTED] Sent: Monday, June 04, 2001 09:23 To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? Tried

RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?

2001-06-05 Thread Peter Eisengrein
Joe, thanks for all your help but, man I'm getting nowhere fast! I downloaded the Win-GUI-0.0.558.tar.gz, extracted it and tried doing the install as you described and again no deal (no ppd in the archive). Then I tried doing another install from AS and I'm still on 0.0.502.

RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?

2001-06-04 Thread Peter Eisengrein
comprehensive access to the Windows API. libwww-perl [5.45 ] Library for WWW access in Perl PPM -Original Message- From: Peter Eisengrein Sent: Monday, June 04, 2001 9:17 AM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-users

RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?

2001-06-04 Thread Peter Eisengrein
I see the 0.0.558 tar.gz version on your site but your /ppm still says 502, which is where I got it from. Is that accurate? -Original Message- From: Aldo Calpini [mailto:[EMAIL PROTECTED] Sent: Monday, June 04, 2001 4:56 AM To: Peter Eisengrein Subject: Re: [perl-win32-gui-users

RE: [perl-win32-gui-users] color change (lable)...

2001-06-01 Thread Peter Eisengrein
Try the -fill and -frame options. According to docs your choices seem limited to black/gray/white/none but trying playing with it. Maybe you can do the exact color you want. -Original Message- From: Webmaster CZ [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2001 2:44 PM To:

[perl-win32-gui-users] Win32::GUI::Timer memory leak?

2001-05-31 Thread Peter Eisengrein
Is there a known memory problem with the GUI module and/or the Timer object? I have a script that runs through a _Timer sub once per second and increments a var (like $count++) and writes it to a Label. Just sitting there quietly doing nothing more than that adds 4k to the process' memory every

RE: [perl-win32-gui-users] newbie's question

2001-05-21 Thread Peter Eisengrein
I asked the same thing not long ago. The general concensus was that Tk might be a better choice because it is cross-platform. Then I ran into a ton of problems installing Tk, so I just went with Win32::GUI becuase I *could* get that to install and I haven't looked back... A bunch of samples come

RE: [perl-win32-gui-users] keeping a window open

2001-05-11 Thread Peter Eisengrein
Do you have the Win::GUI::Dialog(); statement in there? -Original Message- From: Chris Etzel [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2001 8:03 PM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] keeping a window open Ok, it may be that I have

RE: [perl-win32-gui-users] Minimized GUI windows fall asleep

2001-05-11 Thread Peter Eisengrein
last check for viruses? | -Original Message- | From: Peter Eisengrein [mailto:[EMAIL PROTECTED] | Sent: Friday, May 11, 2001 8:30 | To: Perl GUI Mail list (E-mail) | Subject: [perl-win32-gui-users] Minimized GUI windows fall asleep | | | Anyone had a problem with a Window

RE: [perl-win32-gui-users] GUI button problems

2001-04-18 Thread Peter Eisengrein
Cool, I'll try adding the control to the window. Doesn't really matter to the script, just visually. Does the button get hidden behind the tab strip though? -Original Message- From: Johan Lindstrom [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2001 9:21 AM To:

RE: [perl-win32-gui-users] Quick question

2001-03-16 Thread Peter Eisengrein
The samples that come with the module are generally very good place to learn; I've found the documentation to be sketchy at times, though. To answer your specific question, -SetFocus() is the command you'll use. For example: my $Window = new Win32::GUI::Window( -name = Window,

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

2001-03-08 Thread Peter Eisengrein
Found it!!! And I'm a bit more humble for it... I was missing Win32::GUI::Dialog(); in my code. Duh. -Original Message- From: Peter Eisengrein [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 2:55 PM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui

RE: [perl-win32-gui-users] Textfield question

2001-03-07 Thread Peter Eisengrein
Not sure if the -style flag works on textfields but it does on RichEdits and that might be what's missing. Try adding this to your Textfield hash: -style = WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | ES_LEFT | ES_MULTILINE, -Pete -Original

  1   2   >