[perl-win32-gui-users] Re: [perl-win32-gui] newbie query

2001-01-05 Thread Aldo Calpini
chris mccraw wrote: > hey *, > > i'm extremely new to perl dev under win32 (i've done my share of > it under unix in the past tho) so i'm sure this question has an > answer somewhere obvious and if you could direct me towards the > answer/resource from which the answer is available, i'd be > extrem

[perl-win32-gui-users] 0.0.502 on PPM

2001-01-05 Thread Aldo Calpini
hello perl-win32-gui-users, Win32::GUI version 0.0.502 is ready on PPM. goto http://dada.perl.it for info and instruction. cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

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

2001-01-05 Thread Aldo Calpini
Koul Christian wrote: > I still don't see the menu. > I have Win32-GUI 0.99 on Win95 please? I have never released version 0.99 ;-) to find out your Win32::GUI version number, use this: perl -MWin32::GUI -e "print Win32::GUI::Version;" cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, h

Re: [perl-win32-gui-users] Re: [perl-win32-gui] newbie query

2001-01-08 Thread Aldo Calpini
Reini Urban wrote: > Aldo, > i'm still trying to fool around with cygwin and mingw, > but at first have to build a new mingw-perl 5.6.1, because with > this it will be much easier. (it can use the msvc headers and > libs, and not the cygwin/w32api) > but at first I have the solve the current cygwin

Re: [perl-win32-gui-users] cygwin (was newbie query)

2001-01-09 Thread Aldo Calpini
Aldo Calpini wrote: > I am also trying to fool around with cygwin, but I didn't > even could produce a working Perl build :-( well, I finally solved the problem, it was really a WKP (Well Known Problem :-). if anybody it's interested, the solution is available at: http://sourc

Re: [perl-win32-gui-users] Memory leak (not really a leak at all)

2001-01-09 Thread Aldo Calpini
Sam wrote: > Hi, > > I found many references to the 'memory leak' in the archived > messages at http://www.mail-archive.com/perl-win32- > [EMAIL PROTECTED]/. > I believe there isn't a memory leak at all, it appears that the > memory usage reported by windows task manager includes a > portion of

Re: [perl-win32-gui-users] The memory leak problem (fixed, I hope ;)

2001-01-10 Thread Aldo Calpini
Sam wrote: > I said I'd report when I know more, so here goes... > > The problem isn't with DefWindowProc at all (in fact > DefWindowProc doesn't do anything except default handling - > duh!). My apologies for being misleading. no problem. even checking the obvious is helpful in such cases :-)

Re: [perl-win32-gui-users] The memory leak problem (fixed, I hope ;)

2001-01-10 Thread Aldo Calpini
Sam wrote: > 2/ give the Dialog XSUB an explicit block around the perl > interpreter calls it makes. I believe that this will work fine, > but I haven't tested it. you got it Sam! I added ENTER/SAVETMPS + FREETMPS/LEAVE inside the Dialog() loop (while (stayhere)) and it works like a charm now

Re: [perl-win32-gui-users] 0.0.502 on PPM

2001-01-12 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Aldo, > Is it possible to get a copy of 502 as a ppd. > as I am behind a firewall and have been unable to install it > from http://dada.perl.it I've made the PPM distribution available on SourceForge. there is a ZIP file (be sure to choose the correct one for your Perl,

[perl-win32-gui-users] Win32::GUI version 0.0.558

2001-01-22 Thread Aldo Calpini
hello perl-win32-gui-users, version 0.0.558 is out! this is primarily a bugfix version, and also please note that I'm not sure how stable it is (read on for more details). bugs fixed: - the infamous memory leak problem is now gone (everybody say: thank you Sam!!! :-) - fixed the -filter option

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

2001-01-23 Thread Aldo Calpini
Erick J. Bourgeois wrote: > I'm afraid the -minsize option does not work. Erick, which version of Win32::GUI do you have installed? try this command: perl -MWin32::GUI -e "print Win32::GUI::Version;" -resizable and -(min|max)size were added (IIRC -- If I Remember Correctly) around version 0.0.49

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

2001-01-23 Thread Aldo Calpini
Erick J. Bourgeois wrote: > Aldo, I thought I had the version just before 0.0.558, > however when I type: > >> perl -MWin32::GUI -e "print Win32::GUI::Version;" > > it tells me it is beta. too old. please upgrade NOW :-) version 0.0.502, which is available as PPM package, has all the features that

Re: [perl-win32-gui-users] Win32::GUI version 0.0.558

2001-01-23 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Aldo, > > I noticed that when I do a > > ppm install --location=http://dada.perl.it/PPM Win32-GUI > > I will get Win32-GUI version 0.0.502. I don't get Win32-GUI > version 0.0.558. > > Are you not placing this version in your PPM repository? gimme time! this is not an a

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

2001-01-23 Thread Aldo Calpini
Thomas, Timothy B wrote: > Sean - Thanks! That was my next step, but didn't yet have the time > to research how to go about doing it. Didn't know it was so easy > to implement a custom cursor like that. Your code works perfectly. please find attached HyperLink.pm, which implements a 'regular' Win3

Re: [perl-win32-gui-users] Version conflict

2001-01-23 Thread Aldo Calpini
Erick J. Bourgeois wrote: > I received this message after I installed version 0.0.502 > > Win32::GUI object version 0.0.502 does not match > $Win32::GUI::VERSION Beta at D: > /Perl/lib/DynaLoader.pm line 219. > Compilation failed in require at ftp.pl line 4. > BEGIN failed--compilation aborted at f

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

2001-01-23 Thread Aldo Calpini
Thomas, Timothy B wrote: > Is there a way to imbed a cursor into your code the way you > can a bitmap? actually not, but it should be fairly trivial to write a Win32::GUI::CursorInline module :-) cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

Re: [perl-win32-gui-users] Win32::GUI version 0.0.558

2001-01-24 Thread Aldo Calpini
Reini Urban wrote: > in which perl was 'SvPV_nolen' introduced? > the prev GUI.xs had > pszName = SvPV(*pHv, PL_na); > instead of the new > pszName = SvPV_nolen(*pHv); yes, sorry, SvPV_nolen was introduced in 5.6.0. you need to add these lines: #ifndef SvPV_nolen

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

2001-01-24 Thread Aldo Calpini
Thomas, Timothy B wrote: > Aldo - pretty cool, did you just implement that? > I seem to be getting a not-very-descriptive error when I > try your code. See below. > Tim > > D:\Archive\scripts\completed\digitaltool>perl aldourl.gpl > Wrong number of parameters: expected 0, got 2. > B

[perl-win32-gui-users] Win32::GUI::HyperLink 0.02

2001-01-24 Thread Aldo Calpini
hello perl-win32-gui-users, I've added cursor and icon support to BitmapInline.pm, along with a new version of HyperLink.pm that will use the inlined cursor (harrow.cur) if the default handcursor is not found (the default handcursor should be available only in Win2k). enjoy :-) cheers, Aldo __E

Re: [perl-win32-gui-users] Win32::GUI version 0.0.558

2001-01-29 Thread Aldo Calpini
Laurent ROCHER wrote: > Error: Runtime exception > > It's probably the GetWindowLong call before a SetWindowLong. > The first message is a WM_GETMINMAXINFO and not a WM_CREATE. yes, probably something with the PerlObject not initialized correctly. I'll look into it, thanks for pointing this out! :

Re: [perl-win32-gui-users] Win32::GUI version 0.0.558

2001-01-29 Thread Aldo Calpini
Laurent ROCHER wrote: > It's probably the GetWindowLong call before a SetWindowLong. > The first message is a WM_GETMINMAXINFO and not a WM_CREATE. fixed, the new release is available on CVS. if you are not familiar with CVS you can download the updated GUI.xs from: http://cvs.sourceforge.net/cgi

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

2001-01-29 Thread Aldo Calpini
Jonathan Southwick wrote: > I have some text in a Richedit object. I'd like to be able to > copy any text that I select but it doesn't work. Is there > sojmething special I have to do? what do you mean by copy? in the clipboard? if so, you need the Win32::Clipboard module. cheers, Aldo __END__

Re: [perl-win32-gui-users] Column lists

2001-01-29 Thread Aldo Calpini
Erick J. Bourgeois wrote: > Has anyone tried using the "column lists"? For example, the "Find" > program in the Start menu, has a list of files found under the > column "Name" and another column "In Folder". Another interesting > thing about these controls is that if you click on those tabs > (eg.

Re: [perl-win32-gui-users] Win32-GUI 0.0.558 Installation

2001-01-30 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Hello, > > I installed Win32-GUI 0.0.502 via PPM successfully but would like > to use 0.0.558. Running "make" failed with both Borland's and > Dev-C++'s "make": > > C:\Perl\Win32-GUI-0.0.558>\borland\bcc55\bin\make > MAKE Version 5.2 Copyright (c) 1987, 2000 Borland > Fa

Re: [perl-win32-gui-users] Win32-GUI 0.0.558 Installation

2001-01-30 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > If someone knows where there is documentation on how to build a PPD > file for PPM I would be happy to help ? > (Although I know Aldo perhaps didn't want a PPM yet ?) take a look at http://jenda.krynicky.cz basically, you need: nmake ppd then with a tar utility make a

Re: [perl-win32-gui-users] Win32-GUI 0.0.558 Installation

2001-01-30 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Hi Aldo > > I've created a zip file containing a ppd of 0.0.558 which I've > tested on a clean build of ActiveState 5.6.0 Build 623. The > package installs fine and when I run perl -MWin32::GUI -e > "print Win32::GUI::Version" gives 0.0.558. > > I haven't tested it furthe

Re: Recall: [perl-win32-gui-users] Win32-GUI Installation

2001-01-31 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Butler, Eoin would like to recall the message, > "[perl-win32-gui-users] Win32-GUI Installation". I hate this. please stop 'recalling' messages. cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

Re: [perl-win32-gui-users] Win32-GUI Installation

2001-01-31 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Guys/galls.. > I am behind a firewall and can't install from the net using PPM , > the only way I can install is to download it and install it > Locally, > > But when I Do I get the following error > > C:\>ppm > PPM interactive shell (2.1.2) - type 'help' for available >

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

2001-02-02 Thread Aldo Calpini
Shain Edge wrote: > Hi. I just installed Win32-GUI and found absolutely _no_ > documentation with it. Where can I find the documents for help > on using it? download the source tree (Win32-GUI package on SourceForge) for samples and documentation. ==

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

2001-02-02 Thread Aldo Calpini
Danny Zak wrote: > Dear perl-win32-gui-users, > > i first want to send a real big package of congrats to the > developers of this fasinating module.. thanks :-) > It is great.. i already have some nice ideas of using the module, > but as for now it is still in test or development phase ? it's a

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

2001-02-05 Thread Aldo Calpini
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 based upon a file size and it would > appear that if a file is too big the $max gets set to some default. the storage i

Re: [perl-win32-gui-users] wishlist :)

2001-02-05 Thread Aldo Calpini
Danny Zak wrote: > Dear perl-win32-gui-users, > > hm.. again .. i'm really happy with the win32 development.. > > i got some simple questions (or more like a wishlist :) ) > > * is there a spreadsheet (grid) look-a-like solution or > component ? no, but I'm thinking about implementing one

Re: [perl-win32-gui-users] Style Option Bug?

2001-02-05 Thread Aldo Calpini
Erick J. Bourgeois wrote: > Jeremy, > > I didn't know that there was an -align option, but that is > not really what I was concerned with, it's the colors. > Why can't you use the two color options (ie. -background > and -foreground) ALL the time, with any control? because there are either bugs in

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

2001-02-05 Thread Aldo Calpini
Shain Edge wrote: > Hehe.. > > The question I would ask is why isn't the documentation in all > of the other distributions, or at least a file to itself with a > link to it in the source code? I found the Win32-GUI accidently > by doing a Win32 search on the PPM. It looked like something that > wo

Re: [perl-win32-gui-users] Event routines

2001-02-07 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Is Win32::GUI designed to support something like this: > > $subtxt = "Simple_Click"; > eval qq ( > sub main::$subtxt { > print "button clicked\n"; > $W->SimpleLabel->Text("Got a click"); > } > ); > > (Actually this piece of code does not

Re: [perl-win32-gui-users] Limit size of text field

2001-02-07 Thread Aldo Calpini
Bob Stango wrote: > I found the MaxLength option in the docs but it does not seem > to limit the field. What I want is to be able to have the field > restricted to 15 characters. So no more characters could be > typed in. Is this possible? Have I just used the wrong syntax? > Thanks for any help.

Re: [perl-win32-gui-users] Run-time Exception using Win32-GUI-0.0.558 and Visual Studio 6.0

2001-02-08 Thread Aldo Calpini
gary gauthier wrote: > I've built the 558 version of Win32-GUI for ActiveState v522, > but get a Run-time Exception when I try to run anything. I've > seen this before, but can't remmber why it happens. Has anyone > any ideas? > The 502 version of Win32-GUI builds and runs programs just fine > on t

Re: [perl-win32-gui-users] Textfield method

2001-02-08 Thread Aldo Calpini
Moore, Larry wrote: > I would like to assign the highlighted portion of a textfield to > $var. I have the Textfield created with stuff in it but I don't > see a method which will let me make the assignment. there is a Selection method that returns the start and end of the selection. then you just

Re: [perl-win32-gui-users] Testing a label's visibility

2001-02-09 Thread Aldo Calpini
Erick J. Bourgeois wrote: > Is there a way of dynamically checking a labels visibility? > Well, dynamically would be the same as statically, so really > how can you test a label to check whether it is showing. > Something sort of like this: > >if ( $MainWin->Label_1->Visible ) { > ... > } else

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

2001-02-12 Thread Aldo Calpini
Erick J. Bourgeois wrote: > I wish to prevent the user from choosing more than one item > in a Listview and since I didn't find an option > for -multisel, like in a ListBox, I have attempted to > achieve this through the ItemClick event for a ListView. > > sub ListView_ItemClick { > if ($Win->L

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

2001-02-12 Thread Aldo Calpini
Erick J. Bourgeois wrote: > Has anyone had success using the SaveAsDialog? > > I'm using the SaveAsDialog in the following way: > > my %param = (title => "SaveAs", > filters=>{'Filter 1' => '*.txt;*.doc', 'Filter 2' > =>'*.pl;*.pm'}); > my $file = SaveAsDialog %param, "foo

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

2001-02-12 Thread Aldo Calpini
Erick J. Bourgeois wrote: >> sorry, but where did you got this syntax? > > From the documentation in FileOp module. oh, well, FileOp != Win32::GUI :-) cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

Re: [perl-win32-gui-users] looping in win32 GUI

2001-02-14 Thread Aldo Calpini
christopher sagayam wrote: > $|=1; > use Win32::RASE; > eval "use Time::HiRes qw(sleep)"; > $hrasconn = (RasEnumConnections())[1]; > $old_status = -1; > while ( ($status, $status_text) = RasGetConnectStatus($hrasconn) ) { >if ($status != $old_status) { >print "$status: $status_text\n";

Re: [perl-win32-gui-users] looping in win32 GUI

2001-02-14 Thread Aldo Calpini
christopher sagayam wrote: > I might be slow to learn but > Actually what Im concerned about is the while loop > How do I get out of the while loop ? > > while ( ($status, $status_text) = RasGetConnectStatus($hrasconn) ) { > } > > once the control goes into this loop how it is going to get out ? >

Re: [perl-win32-gui-users] The cancel cross (upper right) in GUI

2001-02-14 Thread Aldo Calpini
Nahum Marc wrote: > How to manage the the cancel cross (upper right) in GUI to do > an exit ? , not a window exit , but a script exit ... pick a sample script, anyone will do, from the samples directory and study it. supposing your window is named Window, add this line to your script: sub Wi

Re: [perl-win32-gui-users] looping in win32 GUI

2001-02-14 Thread Aldo Calpini
christopher sagayam wrote: > Here is what Im trying to do > > I am trying to write a win32 gui perl client which when started > will check whether the computer is connected to internet > continuously indefinety in the meantime other actions should > proceed also > > So based on your previous exampl

Re: [perl-win32-gui-users] The cancel cross (upper right) in GUI

2001-02-14 Thread Aldo Calpini
Nahum Marc wrote: > I do this too ... but it's close the window , and not all the > script ... I can see the process yet in task manager (under NT4) > > off course , i hide the dos box so , i need kill the process there must be some error in your script. can you post a piece of your code that incl

Re: [perl-win32-gui-users] The cancel cross (upper right) in GUI

2001-02-14 Thread Aldo Calpini
Nahum Marc wrote: > Win32::GUI version 0.0.502 > perl version Binary build 522 > OS : Windows NT4 wks , SP5 c'est tres simple :-) your window is called 'Win' (-name => "Win"), but your event is called Window_Terminate. should be Win_Terminate instead! BTW, you have an horrible use of goto in your

Re: [perl-win32-gui-users] SelectedItems method

2001-02-15 Thread Aldo Calpini
Erick J. Bourgeois wrote: > [...] > When "Button" is pressed it always falls through the if > statement. Even in the case of no selection it falls through > because @index[0], in this case, is undef. I know undef is > the same as 0, but how could I get around this? UNDEF IS NOT THE SAME AS 0! this

Re: [perl-win32-gui-users] SelectedItems method

2001-02-15 Thread Aldo Calpini
Erick J. Bourgeois wrote: > Sorry to bother the list again, but Aldo, checking it's > undef"ness" with defined does not work either, it falls > through not matter what. I tried putting print > "$index[0]\n"; to see it's value and indeed it is undef (ie. > it did not print anything), so why does it

Re: [perl-win32-gui-users] SelectedItems method

2001-02-15 Thread Aldo Calpini
Erick J. Bourgeois wrote: > Aldo, can I correct it myself and compile it with DJGCC? I hope so :-) I could not compile it with cygwin's gcc, but I'll be very happy to know how it goes with djgcc. but please post build reports and pleas for help on the Perl-Win32-GUI-Hackers mailing list, since thi

Re: [perl-win32-gui-users] SelectedItems method

2001-02-15 Thread Aldo Calpini
Erick J. Bourgeois wrote: > XSRETURN_NO; #Is the problem here?# exxxactly, should be XSRETURN_UNDEF; instead. cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

Re: [perl-win32-gui-users] event handlers

2001-03-02 Thread Aldo Calpini
Dave Moore wrote: > hey. > > do event handler routines (ie. sub Button1_Click) have to be in > the main namespace or in the namespace in which they were created? no, they can be anywhere: just add the namespace to your control's name and the event will be searched in that namespace. example:

Re: [perl-win32-gui-users] event handlers

2001-03-02 Thread Aldo Calpini
Eric Bennett wrote: > He probably means being able to open multiple instances of a > window or being able to subclass window or control behavior. I'm afraid I still don't get the exact point (I'm tired, sorry :-). > Right now the only connection a control has to the rest of the > program is throu

Re: [perl-win32-gui-users] event handlers

2001-03-05 Thread Aldo Calpini
Eric Bennett wrote: > This would be very helpful. The feature which would make this > complete for me is if each control had a tag value which could > hold a scalar reference. a scalar reference to what? > Then it would be simple to segue into an OO approach: > > sub CommonButtonName_Clicked { >

Re: [perl-win32-gui-users] Re: daemon process in win98--on the same note

2001-03-05 Thread Aldo Calpini
christopher sagayam wrote: > Hi all , > On the same note > Is it possible to write a win32 GUI perl server daemon script .. > if so what are the precautions I should take ?? > Particularly because the Win32::GUI::Dialog() indefinite Loop > should not interfere with the while (1){} indefinite loo

Re: [perl-win32-gui-users] event handlers

2001-03-07 Thread Aldo Calpini
Dave Moore wrote: >> this is more clear. the New Event Model I'm trying to build will >> pass a reference to the object that fired the event as its first >> parameter, so this issue will be solved. > > that will be nice, but there is still the issue of name space. > having to name each control in s

Re: [perl-win32-gui-users] Re: how to set ?

2001-03-08 Thread Aldo Calpini
christopher sagayam wrote: > This doesnt work > > $ModuleWindow->text2_tab1->Change(-readonly => 1); > > what is the correct way ? this will work in the next release. I've found that you need to send a message to change the ES_READONLY style *after* control creation. this is the 'workaround' mess

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

2001-03-08 Thread Aldo Calpini
Glenn Linderman wrote: > The -vscroll doesn't seem to have any affect. When I later > > $help_text -> Text ( $long_string ); > > and use a string that is longer than fits in the Textfield, I > expected, but did not get, a vertical scroll bar on the right of > the Text field. Any easy way to make

Re: [perl-win32-gui-users] -style info source

2001-03-08 Thread Aldo Calpini
Moore, Larry wrote: > is there a good source of info for using the -style attribute > with the GUI objects? Micro$$$oft's MSDN Library. but please note that -style is *absolutely* deprecated. use the available options, and if they don't do what you want them to do, complain about this and I'll (tr

Re: [perl-win32-gui-users] Win32::GUI gives memory back to OS?

2001-03-08 Thread Aldo Calpini
Peter Eisengrein wrote: > 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. this is a very well known problem, and has been solved in version 0.0.558. the observed beh

Re: [perl-win32-gui-users] default GUI installed by PPM (was RE: Bug in Textfield scrolling)

2001-03-09 Thread Aldo Calpini
Piske, Harald wrote: > same here. When you do PPM QUERY it states version 0.99, which > is > 0.0.558, so it refuses to install the "older" version. > ActiveState should store the latest versions on their site. ActiveState should had never invented the 0.99 version number (at least not without cont

Re: [perl-win32-gui-users] How to keep my window not hidden

2001-03-19 Thread Aldo Calpini
Hirosi Taguti wrote: > Hello, I'm new to Win32::GUI. > > I found "timer.pl" in sample is good for desktop clock accesary. > Now I don't like it be hidden when other apprications get active. > I mean I like to keep it on top level in z-axis. > Is it possible? create the window with the -topmost =>

Re: [perl-win32-gui-users] Re: How to keep my window not hidden

2001-03-19 Thread Aldo Calpini
Hirosi Taguti wrote: > Thank you but may I continue more? > > This -topmost option cann't be changed after creation? > Below code works fine on re-sizing, but not on -topmost. no, it doesn't work (yet); changing -topmost requires an additional bit of code that I wasn't afare of until recently :-)

[perl-win32-gui-users] .plan

2001-03-19 Thread Aldo Calpini
hello perl-win32-gui-users, this is my dot plan about Win32::GUI, what I'm doing and what I plan to do. please note that everything here may change (without further notice) depending on my other activities (namely job and 'real life' :-). it would be kewl if you could 'prioritize' the list based

Re: [perl-win32-gui-users] .plan

2001-03-22 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Dear Aldo > I'd love to help because Win32::GUI is a marvelous tool and it > enabled me to develop a real nice perl app on the PC. I could > offer my help for working on the documentation, code some perl > examples, and summarize the tricks discussed in the user group. >

Re: [perl-win32-gui-users] .plan

2001-03-22 Thread Aldo Calpini
Laurent ROCHER wrote: > hello hi Laurent! >> -onClick => \&DoSomething > > Good. yup :-) > Not obscure at all ;-) but a very difficult point. > I have think a little about this and i have notice 2 things. > > * With only one event fonction (actual NEM) > > it's possible to call the DoSo

Re: [perl-win32-gui-users] Building a HOWTO for Win32-GUI

2001-03-27 Thread Aldo Calpini
Erick J. Bourgeois wrote: > Aldo, > > I was wondering if it was ok if I use the tutorials, which > come with the Win32-GUI, and build an online (and obviously > off-line) HOWTO? You could distribute the HOWTO with the module. > Let me know what you think. God bless you :-) it's incredibly ok w

Re: [perl-win32-gui-users] Win32::GUI FAQ

2001-03-27 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > Hello Aldo > in order to get started, where can I find the most up-to-date > WIN32::GUI documentation version? I probably have a very > outdated one on my PC. I'll send it to you. > And a second question, is there any model FAQ document you > recommend as a basis? Other

Re: [perl-win32-gui-users] Perl Oasis

2001-04-18 Thread Aldo Calpini
Lam, Nhat-Hung wrote: > Johan, > > The binary also did not work for me (Windows NT 4 - SP6). > > I tried to install all related modules in order to be able to run from the > source code, one still missing is WIN32::API 0.20. I don't have the C > compiler, I then installed it via ActiveState PPM but

Re: [perl-win32-gui-users] Windows freezing

2001-05-03 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > I do not think it is a problem of LWP but Win32::GUI. because > when I used to run very similar procedure as a CGI script under > Apache web server, that is without Win32::GUI ,there were not > such problems. woah! this is, perhaps, the most pure nonsense since the ep

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

2001-05-16 Thread Aldo Calpini
Johan Lindstrom wrote: > Untested, but try something like this: > > my $icoDOS = ... create your icon object here ...; > my $hwindDOS = Win32::GUI::GetPerlWindow(); > Win32::GUI::SetIcon($hwindDOS, $icoDOS, 0); it works, but it's only a temporary change; when the icon needs to be repainted (eg. if

Re: [perl-win32-gui-users] Show In Taskbar

2001-05-29 Thread Aldo Calpini
Glenn Linderman wrote: > Perhaps the desktop could be used, if there was a way to get its handle > into a Win32::GUI::Window object. my $desktop = Win32::GUI::GetDesktopWindow(); cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

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

2001-06-01 Thread Aldo Calpini
Peter Eisengrein wrote: > 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

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

2001-06-04 Thread Aldo Calpini
Peter Eisengrein wrote: > 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! uhm... my site contains version 0.0.558, it was uploaded on 22 Jan 2001. you probably have a (way too much) caching prox

Re: [perl-win32-gui-users] TabStrip with images - does it work?

2001-06-18 Thread Aldo Calpini
Johan Lindstrom wrote: > A weird thing: > > According to the docs, you can attach an -imagelist to a TabStrip, and then > specify the image index when you add a Tab. > > But the sample app for TabStrip attaches an ImageList and specifies > _Bitmap_ objects. not quite. the sample (tabstrip.pl in

Re**8: [perl-win32-gui-users] Kill event?

2001-07-10 Thread Aldo Calpini
Amit Singh wrote: > Hello, > This account closes on 31st July 01. > Kindly mail me at [EMAIL PROTECTED] this address has been unsubscribed, sorry for the inconvenience :-) cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

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

2001-08-06 Thread Aldo Calpini
Renat Araslanow wrote: > Subject: Can't see label with user defined font > Reason: '-escapement' tag in font definition" this is a (rather unpleasant) feature :-) the label is there, and the text is even rotated 90╟, but it falls outside of the label area. the reference point for the text is the u

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

2001-08-07 Thread Aldo Calpini
Renat Araslanow wrote: > thanks a lot! but dont u think that this can be documented? of course it could, if only I had time to do it. and then, I never needed vertical text on a label, so who ever imagined this? :-) > and who maintain documentation. unfortunately, it's me :-( as I said several t

Re: [perl-win32-gui-users] Win32-API version 0.20

2002-02-07 Thread Aldo Calpini
Jeremy Blonde wrote: > ...I can't seem to get to his site anymore... sorry people, I'm having problems with the DNS people at my ISP, should be solved in a couple of days (I *really* hope :-). in the mean time, you can access my site at this address: http://www.perl.it/dada/ the regular, officia

[perl-win32-gui-users] test

2002-02-08 Thread Aldo Calpini
just testing. it seems that for some reason my messages do not reach the mailing list... I receive others just fine, but not my own messages, so I'm not sure you receive them as well. if you read this, please can you reply to my mail ([EMAIL PROTECTED]) to ensure that everything is fine? thanky

[perl-win32-gui-users] damn!

2002-02-20 Thread Aldo Calpini
hello people! I'm really sorry about my unforgivable absence of the last months :-( just yesterday I discovered that I was kicked off this mailing list, due to message bouncing, due to my broken email configuration. I'm going through all kind of problems lately, last but not least the one with DN

[perl-win32-gui-users] Win32::GUI Release 0.0.665

2002-02-28 Thread Aldo Calpini
hello people, finally, an update! this release of Win32::GUI introduces many new features, the most important being: - the NEM (New Event Model), which allows for something like: $Window->AddButton( -text => 'say hello', -onClick => sub { print "hello, world!\n"; }, ); *** edi

Re: [perl-win32-gui-users] Win32::GUI Release 0.0.665

2002-02-28 Thread Aldo Calpini
Frazier, Joe Jr wrote: > > $Window->AddButton( > > -text => 'say hello', > > -onClick => sub { print "hello, world!\n"; }, > > ); > > Hmmm... is this the ONLY way or does the old method still work also? the old method still works. but the main problem now is the interaction betwee

Re: [perl-win32-gui-users] Win32::GUI Release 0.0.665

2002-03-01 Thread Aldo Calpini
Frazier, Joe Jr wrote: > > but I still don't know what to do when you just say use Win32::GUI ;-) > > Use old style by default. This avoids users > having to change thier code until they are ready to totally update thier > code. yes, this is sure. by default the old style is used, the problem is

Re: [perl-win32-gui-users] Win32-GUI Applications causing ILLEGAL OPERATION

2002-03-22 Thread Aldo Calpini
Piske, Harald wrote: > I know that previous versions of GUI were fault-tolerant towards missing > -name parameters, which 558 is NOT. BTW, release 0.0.665 is fault-tolerant towards missing -name parameters. this bug was introduced in release 0.0.558 and is now gone away. cheers, Aldo __END__ $_

Re: [perl-win32-gui-users] Newbie to GUI -- Busy Window?

2002-04-04 Thread Aldo Calpini
Timothy Johnson wrote: > Hi, I'm new to Win32::GUI, but I've been using Perl for a while. I have > been trying to go through a tutorial I found on the web, and I've customized > it a little bit, but not alot, so I can't figure out what's wrong. Maybe > I'm misunderstanding the method. Anyway, be

Re: [perl-win32-gui-users] problems with combobox

2002-04-05 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > problem is when i click on the comboxbox it will only list 1 entry (there > are 2) InsertItem() can insert only one item at a time. use this instead: $dunlist->Add(@dunentries); > and both $Window and $Window2 will freeze. what am i doing wrong? you should not call

Re: [perl-win32-gui-users] -style => WS_VISIBLE | 2 | WS_NOTIFY,

2002-04-09 Thread Aldo Calpini
NAHUM Marc wrote: > hye, > > where can i find a doc on the stlyle like this one : > -style => WS_VISIBLE | 2 | WS_NOTIFY, http://msdn.microsoft.com/library cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

Re: [perl-win32-gui-users] Dinamic windows...

2002-04-15 Thread Aldo Calpini
Guillem Cunillera Wefers wrote: > [...] > $b_guardar{$est_alu->{Nom}} = $w_analisi{$est_alu->{Nom}}->AddButton( > -text => "GUARDAR", # Text al botó > -font => $Mailtool::mevesfonts::fo_normal, > -left => 520, > -top => 85, > -height => 25, > -name => "Mailtool::tutor::b_${est_alu->{No

Re: [perl-win32-gui-users] Testing fork() , because I want to download with lwp

2002-04-22 Thread Aldo Calpini
Guillem Cunillera Wefers wrote: > I include this simple program because I want to download some web pages without > losing the user interaction. How I have to change this code in order to avoid > the error in the second click ? which is the error in the second click? I ran your program and everyth

Re: [perl-win32-gui-users] Extracting and displaying Icon

2002-05-06 Thread Aldo Calpini
Alex Lee wrote: > Hi all, > > Iam trying to extract an icon from a dll file like such: > > code > my $A = 0; > my $B = 'shimgvw.dll'; ## I want icon 1 in this dll file > > my $apiExecute = new Win32::API("Shell32", "ExtractIcon", ['P','P','N'], 'N'); > my $hIcon= $apiExecute->Call($A,$B,1

[perl-win32-gui-users] I'M BACK!!!

2002-10-17 Thread Aldo Calpini
hello people! finally I'm back on this list (I had lost any hope it would happen again :-). to make a long story short, this is what happened: 1. at some point, SourceForge decided to refuse receiving mail from servers that didn't allow null sender (don't ask me why, it's some SMTP stuff th

Re: [perl-win32-gui-users] RichEdit's, I-Beams, and Cursor Not Updating?

2002-10-22 Thread Aldo Calpini
Morbus Iff wrote: > Any ideas? The latest code I'm using is here: this is a bug. it will be solved with the next release. cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

Re: [perl-win32-gui-users] Systray Double Clicks Not Working?

2002-10-22 Thread Aldo Calpini
Morbus Iff wrote: > How come this will work: > >sub _Systray_Click { > $window->Enable; > $window->Show; >} > > but this won't: > >sub _Systray_DblClick { > $window->Enable; > $window->Show; >} next version will have a _DblClick event for NotifyIcons. don't

Re: [perl-win32-gui-users] HOWTO: Modal windows

2002-10-22 Thread Aldo Calpini
Johan Lindstrom wrote: > At 10:08 2002-10-22 +1000, Rogers, John wrote: >>"note that this function must be called without ANY parameter or >>instantiation (eg. don't call it as method of a created object): >> >> Win32::GUI::Dialog(); # correct >> $Window->Dialog();# !!!WRONG!!! >>"

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

2002-10-23 Thread Aldo Calpini
Gossett, Malachy wrote: > Not a lot out there. Typical Open Source nonsense. go program in Visual Basic, quick, it will make a lot of sense for you. > Dada's site really isn't worth much. Don't know why it is > still there. because is MY site and I like it, ok? > Sourceforge.net is good, sinc

Re: [perl-win32-gui-users] Method Combobox->ChangeItem(-top => 100, -left => 150) not working?

2002-10-24 Thread Aldo Calpini
Eric Hansen wrote: > I get an error message when I try to dynamically change the position of > a combobox widget. I have successfully used the ChangeItem method for > ListView controls. Is this not a valid method for comboboxes? no, it is not valid. if you want to change the position of the comb

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

2002-10-25 Thread Aldo Calpini
Borus, Gabor wrote: > Here you are: > The first section is an API call to show the standard printer dialog, > the second section is an example from the Win32::NPRG module. > It detects your installed printers, you can select a printer, and it > prints a little example to the selected printer. look

Re: [perl-win32-gui-users] "Number" and "Case" TEXTFIELDS

2002-11-07 Thread Aldo Calpini
Johan Lindstrom wrote: > The bug report (or feature request if this is the indtended behaviour): > The options passed to Add() methods seems to be, at some point, treated > as a hash, not as an array, i.e. two entries with -addstyle will clobber > each other. this is indeed a bug. it doesn't

  1   2   >