[perl-win32-gui-users] win32-GUI 1.06 RC1

2008-02-04 Thread peter
hi a great gift in this new year, especially the supporting of activePerl 5.10 wich have many new additions to the language of wisdom. i am in the process of experimenting many old examples using perl 5.10 with win32-gui 1.06 happy new win32-GUI george -

Re: [perl-win32-gui-users] Win32-GUI 1.06 for activePerl 5.10 - 64 Bit

2008-02-12 Thread peter
is working fine also with perl 32bit on a windows xp 64 bit regards Robert May <[EMAIL PROTECTED]> wrote: On 12/02/2008, peter wrote: > hi > the new win32GUI 1.06 is fine and working well, i have tried it on windows > xp 32bit and vista 32 bit, with perl 5.10.1002 Thank you

[perl-win32-gui-users] Win32-GUI 1.06 for activePerl 5.10 - 64 Bit

2008-02-12 Thread peter
hi the new win32GUI 1.06 is fine and working well, i have tried it on windows xp 32bit and vista 32 bit, with perl 5.10.1002 today i have installed windows xp 64-bit on a different primary partition in my hard disk, then have installed the activePerl 5.10.1002 64-bit, when i tried to install win

[perl-win32-gui-users] right click on RichEdit control

2008-05-14 Thread peter
hihow can we enable the mouse right click on the Win32::GUI::RichEdit control, it is not enabled by default. i refer also to the same question 2 years ago by Octavian Rasnita: in:http://www.mail-archive.com/perl-win32-gui-users@lists.sourceforge.net/msg04870.htmlwith no success.i have tried $Contro

[perl-win32-gui-users] win32-gui opengl

2009-07-10 Thread peter
text in the textbox, why is this behaviour, and how i can restore the triangle rotating after clicking the button. 2- is it possible to make the opengl window smaller than the win32gui window !! best wishes peter -- Enter the

[perl-win32-gui-users] win32 gui opengl

2009-07-10 Thread peter
/254072142/triangle.rar peter use strict; use warnings; #these constants are needed for SetPixelFormat() but aren't defined in Win32::GUI use constant { PFD_TYPE_RGBA => 0, PFD_DOUBLEBUFFER => 0x0001, PFD_DRAW_TO_WINDOW => 0x0004, PFD_SUPPORT_OPENGL => 0x0020,

[perl-win32-gui-users] Win32-GUI-OpenGLFrame-0.02

2009-07-15 Thread peter
Hi Win32-GUI-OpenGLFrame is an important adition to the win32::GUI, which will be recognized over the years. i have installed it using vc6++ without problems on win32gui v1.06 - activeperl 510 - winxp i will try it and post my findings. peter

[perl-win32-gui-users] cube_triangle.pl example

2009-07-16 Thread peter
Hi here is an example using the new Win32-GUI-OpenGLFrame , it is displaying either a rotating triangle or a rotating cube when you click an appropriate button. yes thanks , i am sure this addition will be used heavily when the people know about it. here is the downloadable example: http://rapidsha

[perl-win32-gui-users] another OpenGLFrame example

2009-09-11 Thread peter
r the other ppm providers sites ,and this is much more convenient to install for the most windows users. regards peter #!perl -w use strict; use warnings; use Win32::GUI qw(WS_CLIPCHILDREN); use Win32::GUI::OpenGLFrame qw(w32gSwapBuffers); use OpenGL qw(:all); my $spin = 0.0; my $xrot = 0; my $yro

[perl-win32-gui-users] no events when tree view is tabstrip child (665)

2002-06-07 Thread Straub, Peter (Peter)
's no 665 specific stuff (like the new event model), see code below. Any magic involved I am not aware of? Thanks for your ideas! Cheers Peter ---8<-8<--- use Win32::GUI; $Window = new GUI::Window( -name => "Window", -text =

[perl-win32-gui-users] subclassing in build 665?

2002-06-05 Thread Straub, Peter (Peter)
ve" events and helps to implement sorts of "links" and a custom cursor shape. Is there a way to achieve this in version 665? Should I wait for 772 :)? Please advise... Cheers- Peter

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

2002-06-06 Thread Straub, Peter (Peter)
t to trigger it with. Anything wrong with my code? All Suggestions greatly appreciated. Thanks! Peter P.S.: I already thought about migrating to 665, but then I need subclassing to get mouse events from the rich edit controls and this doesn't seem to work ... ?

[perl-win32-gui-users] no events when tree view in tabstrip (665)

2002-06-07 Thread Straub, Peter (Peter)
#x27;t use any 665 specific stuff like the new event model. Any magic involved I am not aware of? Thanks for your ideas! Cheers Peter

RE: RE: [perl-win32-gui-users] no events when tree view is tabstr ip child (665)

2002-06-10 Thread Straub, Peter (Peter)
Stupid enough I didn't realize it also works as you suggest. Thanks a lot! Peter -Original Message- From: Johan Lindstrom [mailto:[EMAIL PROTECTED] Sent: Freitag, 7. Juni 2002 11:05 To: perl-win32-gui-users@lists.sourceforge.net Subject: Re: [perl-win32-gui-users] no events when

RE: [perl-win32-gui-users] Rich edit: formatted text lost when sc rollled

2002-06-10 Thread Straub, Peter (Peter)
een scrolled). Btw I managed to migrate my application from version 558 to 655 and for me the problems with RichEdit controls persisted :-( Peter -Original Message- From: Jonathan Southwick [mailto:[EMAIL PROTECTED] Sent: Montag, 10. Juni 2002 14:31 To: 'perl-win32-g

[perl-win32-gui-users] communication between GUI scripts

2002-07-08 Thread Straub, Peter (Peter)
oils the whole thing... Could you please help with better ideas how to accomplish this? TIA and Cheers, Peter

[perl-win32-gui-users] RE: communication between GUI scripts

2002-07-15 Thread Straub, Peter (Peter)
ed to check for incoming messages in a file. Cheers, Peter

RE: [perl-win32-gui-users] Shipping resources with your exe

2004-02-19 Thread Straub, Peter (Peter)
I have been using perl2exe for quite some time and I'm quite sure that it does the trick in the way that you describe for PAR. Cheers, Peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stephen Pick Sent: Thursday, 19 February, 2004 11:02 To: Jez

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

2001-01-05 Thread Peter Eisengrein
I tested your code and could see the menu. WHat versions of perl and Win32-GUI are you using? -Original Message- From: Koul Christian [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2001 6:45 AM To: [EMAIL PROTECTED] Subject: [perl-win32-gui-users] menu Hi, I am new in win32::GU

[perl-win32-gui-users] NT/98 incompatibilities?

2001-01-05 Thread Peter Eisengrein
I have a script that reads a file (puts the data into @update) and prints it to a RichEdit window. This works well on NT but I am having problems with it on Win98. As it is being written to the Rich Edit field, the scroll bar starts out large and scales smaller as more is added (as expected). Howe

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

2001-01-05 Thread Peter Eisengrein
True. But when I do this, I still don't get that option. -Original Message- From: MATA Tech [mailto:[EMAIL PROTECTED] Sent: Thursday, January 04, 2001 12:13 PM To: [EMAIL PROTECTED] Subject: Re: [perl-win32-gui] Print Peter: As I understand it, you must highlight a selection to e

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

2001-01-11 Thread Peter Eisengrein
So, I guess my question is, how does the app, and therefore the print dialog box, know what is selected, if anything? Do I need to code it? If so, how do I (my code) know what was selected? -Original Message- From: Peter Eisengrein [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2001

RE: [perl-win32-gui-users] Interacting with DOS Shell

2001-01-25 Thread Peter Eisengrein
a more windows-ish way might be to open a new window that instructs the user to input "something" with a textbox for their input and an OK button to accept, read in their input, and close the input window. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, J

RE: [perl-win32-gui-users] Richedit Copy

2001-01-31 Thread Peter Eisengrein
I've noticed that CTRL-c (KeyPress 3), CTRL-v (KeyPress 22), CTRL-x (KeyPress 24), and CTRL-z (KeyPress 26) do in fact copy/paste/cut/undo to/from the clipboard without the Win32::Clipboard module, at least it does in one of my scripts (perl v5.6.0 and Win32::GUI v0.0.490). But I have had problem

[perl-win32-gui-users] Progress Bar question

2001-02-01 Thread Peter Eisengrein
Anyone know what the maximum allowed value is for the ->SetRange($min,$max) on Win32::GUI::AddProgressBar? I am trying to have it be set dynamically based upon a file size and it would appear that if a file is too big the $max gets set to some default. for example: my $ProgressWindow = new Win

[perl-win32-gui-users] Progress Bar question

2001-02-01 Thread Peter Eisengrein
Anyone know what the maximum allowed value is for the ->SetRange($min,$max) on Win32::GUI::AddProgressBar? I am trying to have it be set dynamically based upon a file size and it would appear that if a file is too big the $max gets set to some default. for example: my $ProgressWindow = new Win

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

2001-02-02 Thread Peter Eisengrein
I may be wrong, but I've found that you cannot call a _Click() directly (you actually have to Click on something). I'd try this with your subs: sub Open_Click { Open(); } sub Open { my $file=GUI::GetOpenFileName(-title=>"File To Open", -filter=>["*.*"],); } sub OpenHK_Click { Open;

RE: [perl-win32-gui-users] Progress Bar question

2001-02-05 Thread Peter Eisengrein
ebruary 05, 2001 8:44 AM To: Peter Eisengrein Subject: Re: [perl-win32-gui-users] Progress Bar question Peter Eisengrein wrote: > Anyone know what the maximum allowed value is for the > ->SetRange($min,$max) on Win32::GUI::AddProgressBar? I am trying > to have it be set dynamically base

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

2001-02-05 Thread Peter Eisengrein
eforge.net Subject: Re: [perl-win32-gui-users] AcceleratorTable The subs that you supplied do not respond to the keys either. Any more ideas? erick never stop questioning www.jeb.ca <http://www.jeb.ca> - Original Message ----- From: Peter Eisengrein <mailto:[EMAIL PROTECTED]> I

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

2001-03-02 Thread Peter Eisengrein
Hi all, This is making me nuts. I have a combobox dropdown that shows on my window but it does not show the data when I click on it. I copied this same exact code into the comboxbox.pl sample and it works. Aaaarr! Any help would be greatly appreciated. I'll just bang my head on the wa

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

2001-03-02 Thread Peter Eisengrein
another thing... the data is actually in the list. When the blank combobox drops down I can click in it and arrow up/down and then I'll see the data -- debug code confirms a selection is being made. It just doesn't want to show it ## Hi all, This is making m

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

2001-03-05 Thread Peter Eisengrein
unfortunately that didn't do it. Anyone else seen this type of behaviour before? -Original Message- From: Erick J. Bourgeois [mailto:[EMAIL PROTECTED] Sent: Saturday, March 03, 2001 4:48 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: Re: [perl-win32-gui-users] combobox making m

RE: [perl-win32-gui-users] Progress Bar

2001-03-06 Thread Peter Eisengrein
my $ProgressWindow = new Win32::GUI::DialogBox( -name => "ProgressWindow", -left => 300, -top=> 300, -width => 400, -height => 100, -title => "Loading file...", ); $ProgressWindow->AddProgressBar( -name => "PB", -left =>

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 Message--

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

2001-03-07 Thread Peter Eisengrein
I hate to be a pest on this subject, but I still haven't come up with the cause of the problem nor the solution. Again, I have comboboxes that pull down when I click on the handle but it does not display the text. However, if I arrow-down while it is open I can then see and select (by hitting retur

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-users] Win32::GUI gives memory back to OS?

2001-03-08 Thread Peter Eisengrein
Does Win32::GUI give memory back to the OS (WinNT)? I know this has been an on and off topic for Perl in general. And the answer is usually, no, Perl does not give memory back. Try this experiment: open any GUI script (seems to be true for any, at least on WinNT 4.0). While it is open, open Window

RE: [perl-win32-gui-users] use of Pos method

2001-03-08 Thread Peter Eisengrein
Do you want ->Pos() or ->Select()? I suspect you probably want the latter. -Original Message- From: Moore, Larry [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2001 1:49 PM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: [perl-win32-gui-users] use of Pos method I have two

[perl-win32-gui-users] task bar question

2001-03-14 Thread Peter Eisengrein
Is there any way to open a new window without creating a new item in the OS's task bar? I'd like to open windows that are a sub of a main window but show just one task bar item for the main window. Thanks list. Pete

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] Most-Recently-Used files

2001-04-12 Thread Peter Eisengrein
I'd simply write the path\file to a data file somewhere and read it before you contruct your menu. You would write to this file every time someone opens or creates a file. You would probably also want to create a subroutine that limits how many files are kept, as such: ### untested! ### At the be

RE: [perl-win32-gui-users] Most-Recently-Used files

2001-04-12 Thread Peter Eisengrein
Took a peek at podview.pl. Instead of a datafile it uses the registry. It also uses a hash instead of an array, so duplicates don't exist (if you open the same file multiple times). Good call, this is a better way to handle it, assuming the person using it is careful with the registry. -Or

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

2001-04-17 Thread Peter Eisengrein
Having trouble with a Win32::GUI::Button where it is not seeing the _Click. However if I do $ReportButton->Show() or Hide() it works ok (because of the $var reference) and visually you can see the button is clicked (it depresses). I am guessing the problem is because it is nested on a Tab, but I'm

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

2001-04-18 Thread Peter Eisengrein
-gui-users@lists.sourceforge.net Subject: Re: [perl-win32-gui-users] GUI button problems Peter wrote: >depresses). I am guessing the problem is because it is nested on a Tab, but >I'm not sure. And if that is it, whatis the proper way to call it? In the >script below, if you click o

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

2001-04-18 Thread Peter Eisengrein
tried it and works like a charm! and to answer my own question, no it doesn't get hidden behind the tabstrip. -Original Message- From: Peter Eisengrein Sent: Wednesday, April 18, 2001 1:59 PM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-us

[perl-win32-gui-users] Model-View-Controller (MVC) with Win32::GUI?

2001-05-06 Thread Peter Köller
Hello, has anyone an approach how to use Win32::GUI with the Model-View-Controller (MVC) principle? Or if that would be impossible: What would be the best way to separate business code and gui? Sincerely Peter

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 h

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

2001-05-11 Thread Peter Eisengrein
ure out how to keep the #toolbar floating without exiting on button_Click. my $ExitButton=$Toolbar->AddButton( -name=>'Exit', -pos=>[150,10], -text=>'Exit Toolbar', ); sub Exit_Click { exit; } $Toolbar->Show(); Win32::GUI::Dial

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

2001-05-11 Thread Peter Eisengrein
Anyone had a problem with a Window that "falls asleep" if it has been minimized for a while. I have this problem and it takes quite a while (> 10 minutes sometimes) for the system to return it when it is restored. This is especially prevalent in Win98 but have also seen it on NT4.0. Is there a fix

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

2001-05-11 Thread Peter Eisengrein
process > burns the CPU power and RAM. If on 9x, the task scheduler > worx differently > there and you can have one malfunctioning app freezing all > others, given a > few conditions. > > One last idea: when did you last check for viruses? > > | -Original Messa

Re: [perl-win32-gui-users] Win32::GUI::Icon and Win32::Console - an icon for a console

2001-05-16 Thread Peter Köller
path (split(/;/, $ENV{PATH})) { if (-e "$path\\perl.exe") { return "$path\\perl.exe"; } } } __END__ :endofperl --- cut here --- Peter http://www.metaprojekt.de

[perl-win32-gui-users] What are the parameters in the Toolbar::AddButtons for?

2001-05-16 Thread Peter Köller
led? Can disabled toolbar items have another image? (I need something like the speedbars in Office Applications). Sincerely, Peter

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

2001-05-16 Thread Peter Eisengrein
I'm pretty sure it only works when you put them on a DialogBox not a Window. Or at least that's the only way I've been able to make it work. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2001 6:16 AM > To: perl-win32-gui-users@lists.sou

Re: [perl-win32-gui-users] What are the parameters in the Toolbar::AddButtons for?

2001-05-16 Thread Peter Köller
I don't know how > (perhaps sending a message, a la the RichEdit workarounds that we've > seen on this list). If I can't figure it out, then I tell the user "Don't press this toolbar button at this time :-)" LOL But I hope that there is a better solution. Peter

[perl-win32-gui-users] Changing visibility problem with buttons

2001-05-17 Thread Peter Köller
n->SetRedraw(1) and much more. The only thing which worked was: $win->Hide(); $win->Show(); Is this the only method? Any help appreciated. Peter

Re: [perl-win32-gui-users] Changing visibility problem with buttons

2001-05-17 Thread Peter Köller
without error $win->buttonXY->Change(-text => "XY"); $win->buttonXY->Show(); Peter

[perl-win32-gui-users] Button MouseOver?

2001-05-21 Thread Peter Eisengrein
Is there a MouseOver function for Buttons? I didn't see anything in the docs. What I'd like to do is display a help message in the StatusBar when the cursor is over a button.

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 wi

[perl-win32-gui-users] $Window{-dialogui => 1}

2001-05-29 Thread Peter Eisengrein
Was the -dialogui option implemented on Window? I am trying to use tabstops and I thought I remembered seeing mention of this on the list but [1] can't find it and [2] it doesn't work on my NT4 machine. Works fine as a DialogBox, though. Thanks, Pete

[perl-win32-gui-users] DialogBox [?] Button

2001-05-29 Thread Peter Eisengrein
What is the event generated when you click on the [?] button (next to the [X] terminate button) on a DialogBox?

[perl-win32-gui-users] Changing items in a ListView with columns?

2001-05-30 Thread Peter Köller
Hello, I don't know if this has been asked before. Sorry, if there is already a solution. How can items, especially single columns of an item in a ListView be changed, without removing and re-inserting the whole item? Thanks in advance, Peter

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

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

2001-06-01 Thread Peter Eisengrein
> yes, there was a memory leak but it should have been fixed is > one of the > last releases. which version of Win32::GUI are you using right now? 0.0.502 -- I actually just pulled it off your site maybe two weeks ago. Is there an even newer version? Thanks for your help -- I love this module!

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

[perl-win32-gui-users] Re: Changing items in a ListView with columns?

2001-06-01 Thread Peter Köller
> How can items, especially single columns of an item in a ListView > be changed, without removing and re-inserting the whole item? Now I am able to give the answer to my own question I asked some days ago :-) $win->listview->ChangeItem(-item => $index, -subitem => 1, -text => 'Foo'); Peter

[perl-win32-gui-users] Changing the states of toolbar buttons?

2001-06-02 Thread Peter Köller
Hello, has anyone a solution how to change toolbar button states on the fly? Peter

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

2001-06-04 Thread Peter Eisengrein
tensions that aims to provide 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@list

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-

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

2001-06-05 Thread Peter Eisengrein
ository, > but, one source is as good as another right? Also, you could download > the zip and install via ppm from the zip file contents localy. I used > to have to do this at my old job since I could never get ppm to work > through the firewall there > > > > >

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. C:\ActivePerl\lib\gui

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

2001-06-05 Thread Peter Eisengrein
The zip thing worked!!! That's terrific except that scripts that used to work no longer do. Bummer. I get this kind of an error: "Your vendor has not defined Win32::GUI macro Category, used at..." (see below snippet) What's this about a macro? I get what it means but can someone point me towards

RE: [perl-win32-gui-users] BringWindowToTop doesn't

2001-06-07 Thread Peter Eisengrein
I've used SetForegroundWindow() from a NotifyIcon and that works on NT4. sub ni_Click { if ($Window->IsVisible) { $Window->Hide(); } else { $Window->Show(); $Window->SetForegroundWindow(); } re

[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));

[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
indow->Menu -> {'SortNot'} -> Enabled ( 0 ); > > > 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

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

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 us

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

2001-07-05 Thread Peter Eisengrein
bel) $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]

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

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

RE: [perl-win32-gui-users] Newbie: Win32::GUI - Problem finding l oadable object for module W in32::GUI

2001-07-11 Thread Peter Eisengrein
You need to give your widgets a -name and the label needs a position. Also, if you do not include Win32::GUI::Dialog() your window will not remain open. Try this one. use Win32::GUI; $main = Win32::GUI::Window->new(-name => "Window", -width => 100, -height => 100); $main->AddLabel

[perl-win32-gui-users] wait for user input

2001-07-16 Thread Peter Eisengrein
How can I temporarily halt the main Dialog() from accepting other events? I have an event that opens a dialog box (an alert) that I bring focus to, disable the other windows, etc. I want to wait for user input (click a button) before moving on. However, the script picks up other things going on and

Win32::GUI::Modalizer (was Re: [perl-win32-gui-users] wait for user input)

2001-07-17 Thread Peter Köller
using > that platform would care to try it out I would be grateful. I tested it under Win98 and sorry it didn't work there, too. Peter

Re: Win32::GUI::Modalizer (was Re: [perl-win32-gui-users] wait for user input)

2001-07-17 Thread Peter Köller
he problem I mentioned to you one or two weeks ago. The app freezes because the focus seems to change very fast between the dialog boxes, e.g. the about box in Oasis and the main app window. After that I must kill Oasis to work with Win98. Peter

Re: Win32::GUI::Modalizer (was Re: [perl-win32-gui-users] wait for user input)

2001-07-17 Thread Peter Köller
now how to en-/disable speedbar buttons on the fly :-) Peter <>

[perl-win32-gui-users] Searching testers for Win32-GUI Application

2001-07-26 Thread Peter Köller
on german ebay - german reading/writing because it is only a german app at the moment, sorry. I attached a picture from the app. If anyone is interested, please mail me. Peter <>

[perl-win32-gui-users] Label Bugs?

2001-07-29 Thread Peter Köller
d by -background will be ignored. Peter P.S.: Still searching for a solution to disable/enable Toolbar Buttons on-the-fly. Are there any code snippets???

[perl-win32-gui-users] Window without border and icons for a splash screen?

2001-08-01 Thread Peter Köller
Hello Win32-GUI users, is there a solution for creating splash screens without the windows border and icons (e. g. like Opera). Thanks in advance, Peter

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: [perl-win32-

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

Re: [perl-win32-gui-users] Window without border and icons for a splash screen?

2001-08-06 Thread Peter Köller
Great work, Johan! This did the trick. Thanks, Peter > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag von > Johan Lindstrom > Gesendet am: Sonntag, 5. August 2001 23:00 > An: perl-win32-gui-users@lists.sourceforge.net > Bet

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 elsewhe

RE: [perl-win32-gui-users] Why do Windows spontaneously minimize?

2001-08-10 Thread Peter Eisengrein
I've never seen this before. A little code showing how you call the other window might be helpful. -Original Message- From: Gross, Stephan [mailto:[EMAIL PROTECTED] Sent: 09 August 2001 19:18 To: 'Perl GUI' Subject: [perl-win32-gui-users] Why do Windows spontaneously minimize? I'm writ

[perl-win32-gui-users] Win32::GUI Application with Win32::OLE (Outlook) problem!

2001-08-15 Thread Peter Köller
retrieves the mails won't return until Outlook ist killed with the task manager because it freezes. This problem is only when Win32::OLE is used in connection with Win32::GUI. When I try the same without GUI all is fine. Has anyone an idea? Peter

[perl-win32-gui-users] Success: Disabling or Enabling Toolbar Buttons

2001-08-17 Thread Peter Köller
/1 $win->tbToolbar->SendMessage(0x0401, 1, 0) I am still looking for making a toolbar with hot and cold images. Any suggestions? Have fun, Peter

[perl-win32-gui-users] Win32::GUI with Win32::OLE and RichEdit PROBLEM

2001-08-18 Thread Peter Köller
y program, restructered some lines and that don't work anymore, too!!! Even if try something like my $riched = $win->AddRichEdit(-name => 'riched'...) and use $riched->Text() instead if $win->riched->Text(); Please help, Peter

[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] RE: NotifyIcon - How to Change icon pr ogrammatically

2001-08-27 Thread Peter Eisengrein
That did it!!! Thanks! > > > How can you change the -icon after it already exists in the > > system tray? > > Don't know how supported it is but this is what I had to do is call > Win32::GUI::NotifyIcon::Modify directly (it is located in the > GUI.xs file > for those with the source). Example

RE: [perl-win32-gui-users] How to get items that are checked in a list view.

2001-08-29 Thread Peter Eisengrein
Each time an item is selected, it will run sub ListView_ItemClick What you probably want is to keep an array of the items (filenames) that are selected and then if/when a button (which isn't in your code) is _Click 'd then do a foreach on your list and move each file then undef the list. > -O

  1   2   3   >