[perl-win32-gui-users] Just a couple of quick queries ...
Hi all I've been away for a bit in none GUI (DBI and Oracle) land and have just come back to my pet GUI project. As per a message on this list from Aldo a while back I've been busily converting all of my uses of '-style' to '-addstyle' and on the whole all is well. However can some one explain why when I say this : $mainWin = new Win32::GUI::Window( -left => 141, -top=> 336, -width => 321, -height => 250, -name => "mainWin", -text => "pageIT", -menu => $menu, -addstyle => WS_NORESIZE, ); I get a resizable window. However if I just say '-style => WS_NORESIZE' I get the desired result ? Also, I don't seem to be able to tab between TextFields (or more acurately I can tab into one but no further). Any ideas ? Thanks PB *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] Win32-GUI 0.0.558 Installation
Hi Might be a silly question but did you do perl Makefile.PL first ? I have built and installed 0.0.558 today with Visual C++ version 6 with no problems. perl Makefile.PL nmake nmake install 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 ?) Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] Win32-GUI 0.0.558 Installation
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 further than that but if you let me know the best way to get it to you I'll happily pass it on. Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: Re[2]: [perl-win32-gui-users] ppm rep dada -maybe of topic
Hi Danny I use PPM through our proxy / firewall. There are instructions in the PPM FAQ but basically you set environment variables in the shell before calling PPM. There are 3 to set : HTTP_proxy=http://your.proxy.server:portnumber HTTP_proxy_user=username (if required) HTTP_proxy_pass=password (if required) Depending on your firewall / proxy you may or may not have to set the latter 2. (Make sure you remember to supply the http:// on the front of the proxy address!) Hope this helps ! Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] GUI Builder 109 (was: Need Gui Builder)
Has anyone managed to download it ? I can see the file but not download it - it says that the file cannot be found. Help Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] GUI Builder 109 (was: Need Gui Builder)
Has anyone managed to download it ? I can see the file but not download it - it says that the file cannot be found. Thanks Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] GUI Builder 109 (was: Need Gui Builder)
Oops - posted this again as I inadvertently embedded a list command word in it and got a message saying it was being held by the moderators (sounds painful !) Sorry - please ignore. Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] GUI Builder 109 (was: Need Gui Builder)
David Many thanks, most helpfull. Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: Re[4]: [perl-win32-gui-users] GUI Builder 109 (was: Need Gui Builder)
Danny The ActiveState repository has an old build of Win32::GUI and if it is in your repository list before Aldo's site at dada.perl.it you'll probably get that version. Easiest bet is to download the .zip file of the 558 build from Source Forge and install it from that local copy. http://download.sourceforge.net/perl-win32-gui/Win32-GUI-0.0.558-PPM-5.6.zip Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
RE: [perl-win32-gui-users] Interesting behavior
David I *BELIEVE* fork() is supported in Perl 5.6 on Win32 in an emulated form, but I'm 150 miles away from my documentation and only have a 9600 baud mobile to connect to the web over so I can't check ! It wasn't supported in older builds. Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] Dr Watson
Hi Simon I'm running Win2K Pro and have no problems running Win32::GUI apps from the 0.0.558 PPM. I created the code in the PPM on NT 4 SP 6a but it doesn't seem to be causing me a problem. If you want to send me your code (or a snipit if you know where it seems to be crashing) I could check it out for you. What build of Perl do you have BTW ? Is anyone else having problems with this distribution on W2K ? Cheers Paul "Simon Taylor - Tegel" <[EMAIL PROTECTED]> on 23/02/2001 01:44:46 Please respond to perl-win32-gui-users@lists.sourceforge.net To: "'perl-win32-gui-users@lists.sourceforge.net'" cc:(bcc: Paul BARKER/IT/HTLUK) Subject: [perl-win32-gui-users] Dr Watson I've installed Win32::GUI 0.0.558 from the contributed PPM binary on SourceForge onto my Windows 2000 machine running ActiveState Perl 5.6.0 Build 623. However when I try to run a Perl script that uses Win32::GUI, I get a Dr Watson: application exception number c0005 (access violation). I also tried installing 0.0.558 from the source distribution using the nmake utility but I'm probably missing something important like the Visual C++ compiler/linker (cl.exe?). I didn't get the Dr Watson problem when running 0.0.502 but I was getting lots of strange GUI behaviour, so I thought I'd try the latest version. So far, no joy. My burning question: Is Win32::GUI okay on Windows 2000? Thanks Simon Taylor Technology Analyst Tegel Foods Ltd, Auckland, New Zealand mailto:[EMAIL PROTECTED] CAUTION: This message and any attachments contain privileged and confidential information. If you are not the intended recipient of this message, you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify the sender immediately via email and then destroy this message and any attachments. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Tegel Foods Ltd. ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
RE: [perl-win32-gui-users] Dr Watson
Hi Simon Did you ever get this sorted ? PB *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
RE: [perl-win32-gui-users] default GUI installed by PPM (was RE: Bug in Textfield scrolling)
Hi Guys Has anyone contacted ActiveState and asked them to use the newer distribution ? I'll be happy to try since I'm officially "Win32 PPM chief" ! Cheers PB *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
[perl-win32-gui-users] Versions on the ActiveState server
Hi All I am currently in conversation with ActiveState with a view to having the correct version on their PPM server. They have been very responsive and told me that it had been updated this morning. However when I do a search for it on their server I still get version 0.99 reported. I've gone back to them with this and await their reply. (It could be a cache issue on our firewalls so if anyone else can check it that would be great.) I'll keep you all posted. Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] Versions on the ActiveState server
Aha, perhaps I do have cache problem then. I'll flush the cache and try again. Thanks ! Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] Versions on the ActiveState server
All After a small hiccup caused by a cache problem on my firewall I can confirm that the PPM now available from ActiveState is version 0.0.558. I have installed this version and get the correct version number from perl -MWin32::GUI -e "print Win32::GUI::Version". Hopefully this will sort out some problems people were experiencing. Best Regards Paul [EMAIL PROTECTED] on 21/03/2001 08:56:55 Please respond to perl-win32-gui-users@lists.sourceforge.net To: perl-win32-gui-users@lists.sourceforge.net cc:(bcc: Paul BARKER/IT/HTLUK) bcc: Paul BARKER/IT/HTLUK Subject: [perl-win32-gui-users] Versions on the ActiveState server Hi All I am currently in conversation with ActiveState with a view to having the correct version on their PPM server. They have been very responsive and told me that it had been updated this morning. However when I do a search for it on their server I still get version 0.99 reported. I've gone back to them with this and await their reply. (It could be a cache issue on our firewalls so if anyone else can check it that would be great.) I'll keep you all posted. Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. *** ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users att1.eml Description: Binary data
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Hi The Win32::GUI 0.558 PPD was created by me (I'm the Packager you know ;-) ). I also managed to get ActiveState to update their PPM server with it so you can get the current version from there. (It does seem to work from inside a firewall, you just need to set the environment variables right.) There's some good information about creating PPMs on Jenda's site at http://jenda.krynicky.cz/perl/PPM.html (Thanks again Aldo!) They are fairly easy to do, basically you need a couple of things : 1) Source of module 2) Compiler to build the module Build the source like this : perl Makefile.pl nmake ppd Move the blib directory structure produced by this to a directory like MSWin32-x86-multi-thread\ and then tar up the whole thing and call it something sensible like Module-SubModule-versionnumber-PPM.tar. (Win32-GUI-0.0.558-PM.tar for example) Now gzip the tar file. (Try http://www.gzip.org/ for gzip for Windows) Now you must create a .ppd file which describes it. Jenda's site has detailed information but check the .ppd file which is bundled with my 0.558 PPM it's pretty simple. Major thing to remember is the use of unix style slashes for directory paths, ie somepath/somotherpath NOT somepath\someotherpath. Caught me out for a while ! Once you have the gzipped tar file and the ppd file, create a zip file called Module-SubModule-versionnumber-PPM.zip containing the ppd and the gzipped file. OK, it should now work. It took me some time playing about to get it going at first but once you've done one it gets easier. BTW - The reason that there are no docs in the PPM file for 0.558 is because at the time the docs were very incomplete. I could create a PPM with the docs included, but isn't someone on this list maintaining them on a web site somewhere ? Anyway, if you're *REALLY* stuck for a CPAN or other module making into a PPM drop me a line at [EMAIL PROTECTED] and I'll offer any help I can. (I'd rather help you do it than do it for you of course ! ;-)) Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
[perl-win32-gui-users] Formatting of text in a RichEdit
Hi All I'm currently playing with a RichEdit to display the output of a report. Does anyone have any experience setting formatting inside a RichEdit ? I guess I should be able to use Bold / Italics / Color but am having problems working out how. I looked on MSDN and I think I may have to use SendMessage to send a EM_SETCHARFORMAT message to the RichEdit ? (I may be well off track here.) Any ideas ? I'd like to maybe print column headings in bold in a larger typeface than the body. All help greatly appreciated. Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] Capturing a bitmap from a window (or a region within a window)
Hi I'm trying to produce a 5.6 PPM for this new module, but I am having trouble building the source. I hve downloaded and extracted both your source and the FreeImage source. I have extracted your files to d:\DIBitmap and the FreeImage files to d:\DIBitmap\extlib directory. When I extract the FreeImage source it asks if I want to overwrite d:\DIBitamp\Extlib\makefile. If I choose yes the nmake bombs almost instantly. If I choose no and keep the orriginal, the nmake runs for some time and then bombs with the following error : lib /out:"FreeImage.lib" ZLib.lib LibTIFF.lib LibPNG.lib LibJPEG.lib LibM Microsoft (R) Library Manager Version 6.00.8168 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. NMAKE clean_build Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. del *.obj del ZLib.lib del LibTIFF.lib del LibPNG.lib del LibJPEG.lib del LibMNG.lib del Free.lib del Test.exe Could Not Find D:\Development\DIBitmap\extlib\Test.exe NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2' Stop. Can you send specific build instructions ? Which version of FreeImage do I need ? Which makefile shoud it use ? etc etc I will of course make the PPM file availabile to you and the group once I manage to build it. Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
RE: [perl-win32-gui-users] Can't Search perl-win32-gui Archives
Hi I have searched other lists on SourceForge which seem to use the same type of page (with GeoCrawler in the top left) and it does work. It only seems to be ours that has a problem. Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
Re: [perl-win32-gui-users] damn!
Hi Aldo Nice to hear from you again - sorry to hear about your problems :( I can produce a PPM if you let me know when the source is available. Cheers Paul "Aldo Calpini" <[EMAIL PROTECTED]> on 20/02/2002 09:12:36 To: "Perl-Win32-GUI-Users" cc:(bcc: Paul BARKER/IT/HTLUK) bcc: Paul BARKER/IT/HTLUK Subject: [perl-win32-gui-users] damn! 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 DNS: you may have noticed that dada.perl.it is not there anymore, but I'm (hopefully) getting back the control of my DNS, so this should be solved sooner or later. I'm still depending on my ISP's geological times for this, so I can't give a date. but in the mean time, dada's perl lab is still available at: http://www.perl.it/dada/ and then, I had a major hard disk failure that scratched all my development environment (the source itself are safe), so that I still can't compile Win32::GUI as of now :-( but except for that, I would like to go on with this module. the latest version (build 659) is ready, but I just can't test it. I will release the source on my site, and if someone can provide a binary (PPM or just the DLL, I can package the PPM), this would be very appreciated. regarding the last discussions (that I'm reading in the archives ;-), I can say that the Tooltip question is fully implemented now. every control has a -tip option that directly specifies the text that should appear in the tooltip when the mouse is over it. sorry again, people, I hope to be more "efficient" (?) in the future :-) cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print; ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users *** Important. Confidentiality: This communication is intended for the above-named person and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of the company. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately. Monitoring/Viruses Orange may monitor all incoming and outgoing emails in line with current legislation. Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Orange PCS Limited is a subsidiary of Orange SA and is registered in England No 2178917, with its address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. ***
[perl-win32-gui-users] Re: Win32::GUI Release 0.0.665
Hi All I've just built and packaged a PPM and sent it off to Aldo so hopefully it will be available soon. Oh, and yes - just tried out tool tips ... fantastic ! Cheers Paul *** Important. Confidentiality: This communication is intended for the above-named person and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of the company. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately. Monitoring/Viruses Orange may monitor all incoming and outgoing emails in line with current legislation. Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Orange PCS Limited is a subsidiary of Orange SA and is registered in England No 2178917, with its address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. ***
Re: [perl-win32-gui-users] making windows - help w/code
Hi I've tried the code on XP and I don't get the first window or the button in the "Window Title" window. If I cut and paste the declaration for window 2 and call it window 3 I get another window but if I call it W1 I still don't see it ? I'll keep thinking ;-) PB *** Important. Confidentiality: This communication is intended for the above-named person and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of the company. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately. Monitoring/Viruses Orange may monitor all incoming and outgoing emails in line with current legislation. Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Orange PCS Limited is a subsidiary of Orange SA and is registered in England No 2178917, with its address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. ***
Re: [perl-win32-gui-users] making windows - help w/code
Hmm, interesting. Are you by any chance trying to run the code from within a GUI debugger ? If I run your code from within Perl builder I get 2 windows. If I save the code and run it from a command window I get 3 windows ! Can't explain it but I'll keep thinking. I've replicated the behaviour with this code : use Win32::GUI; use strict; my $W = new Win32::GUI::Window( -title => "Window1", -left => 100, -top=> 100, -width => 280, -height => 260, -name => "Window", ); my $X = new Win32::GUI::Window( -title => "Window2", -left => 150, -top=> 150, -width => 280, -height => 260, -name => "Window2", ); $W->Show(); $X->Show(); Win32::GUI::Dialog(); If I run it through the debugger both $W and $X get initialised to Win32::GUI::Window objects but only window $W is shown. It seems to be the order that you call $WINDOW->Show(); If I move the $X->Show(); line before the corresponding line for window $W then window $W is shown but not window $X !!! Ah well so much for IDEs ! Cheers Paul *** Important. Confidentiality: This communication is intended for the above-named person and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of the company. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately. Monitoring/Viruses Orange may monitor all incoming and outgoing emails in line with current legislation. Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Orange PCS Limited is a subsidiary of Orange SA and is registered in England No 2178917, with its address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. ***
Re: [perl-win32-gui-users] Newbie to GUI -- Busy Window?
Tim I think the problem may be that $main->Show() returns 0 so the left hnd side of your or ( || ) evaluates to false. If I modify your code to test the theory : my $return = ($main->Show()); ErrMsg( "Could not un-hide window - $return \n"); The message box reports : Could not un-hide window - 0 Hope this helps. Paul *** Important. Confidentiality: This communication is intended for the above-named person and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of the company. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately. Monitoring/Viruses Orange may monitor all incoming and outgoing emails in line with current legislation. Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Orange PCS Limited is a subsidiary of Orange SA and is registered in England No 2178917, with its address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. ***
RE: [perl-win32-gui-users] Newbie to GUI -- Busy Window?
Hi Sean If the PPM on SourceForge is the one I built for Aldo (I think it is) it was built and tested on Windows 2000 with ActiveState Perl 5.6.1 build 630. I have tested the PPM on Win XP but not 95. One question, did you do ppm remove Win32-GUI before you installed the new version ? If not it may be a good idea to remove the module (via ppm remove) and then re-install it. Unfortunately I don't have a 95 box to test the code on. I do have an ME test box so if I get time this weekend I'll try it there and see if it works. Hope this helps Paul *** Important. Confidentiality: This communication is intended for the above-named person and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of the company. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately. Monitoring/Viruses Orange may monitor all incoming and outgoing emails in line with current legislation. Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Orange PCS Limited is a subsidiary of Orange SA and is registered in England No 2178917, with its address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. ***