Re: [perl-win32-gui-users] problem of reusing memory

2011-03-27 Thread Waldemar Biernacki
Dnia piątek, 25 marca 2011 o 12:43:14 Aldo Calpini napisał(a): > On 25.03.2011 11:07, Waldemar Biernacki wrote: > > Until now I rewrote my application to use the fix and first tests are > > really promising. By the way, this tremendous GDI object number was due > > to the fac

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-25 Thread Waldemar Biernacki
Hi, > Cool - do some major testing with your app, and if things are still OK, the > fix (well, a version of it) will get committed to CVS. Until now I rewrote my application to use the fix and first tests are really promising. By the way, this tremendous GDI object number was due to the fact

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Waldemar Biernacki
Jeremy, It works! I had to take the 5.8.9 version. Firstly I try to take perl 5.10 and 5.12 versions but both suffer from this memory problem. Thank you for your great help! Regards Waldemar -- Enable your software fo

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Waldemar Biernacki
One more thing - maybe important. This background color problem is not neccesary connected with a memory. I think that maybe the bigger problem is that it rises the GDI object counter. Please compare difference between Perl8 and Perl10 - in Perl 5.8 in principle the memory is stable whereas in P

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Waldemar Biernacki
Dnia środa, 23 marca 2011 o 13:46:46 Jeremy White napisał(a): > > Probably I am mixing something. I wrote another variant of the script: > > > test.pl:> ##> #!/usr/bin/perl > > -w> use strict;> use warnings;> use Win32::GUI qw();> my $i = 0; > > Ok:) as soon

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Waldemar Biernacki
Jeremy I've forgotten to send it to the list so it is the second copy... Dnia środa, 23 marca 2011 o 11:22:52 napisałeś: > > > Vista and Windows 7 have larger default values, but you really need to > > > work out why you are using so many GDI objects. It shouldn't be that > > > high... > > > > I

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-21 Thread Waldemar Biernacki
Uff some _real_ progress! Athough I am not full satisfied. > It may be worth downloading the latest version of either 5.8 or 10.0 as I > know there were fixes in Perl itself that could be causing your problem. 1. Yes! Installing Perl 5.8.9 helps. No memory drifting. 2. At last I have found thi

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-21 Thread Waldemar Biernacki
Dnia poniedziałek, 21 marca 2011 o 10:04:43 Jeremy White napisał(a): > Hi, > > > I use windows XP, Windows 7 and win32::GUI 1.06. Problem exists on the > > both OS`s. > > What version of Perl are you using? Perl 8.8 and Perl 10.0 (both ActiveState's) - results the same > > > It is not problem

[perl-win32-gui-users] problem of reusing memory

2011-03-19 Thread Waldemar Biernacki
Hello! I use windows XP, Windows 7 and win32::GUI 1.06. Problem exists on the both OS`s. It is not problem with win32::GUI but I experienced it just using the module in my application. My application dynamically generates series of windows (potentially unlimited). Each of those is full Win32:

[perl-win32-gui-users] How to change the font in a Win32::GUI::MessageBox

2011-02-21 Thread Waldemar Biernacki
Hello! is anyone know is it possible? I want to display more formated infromation in the message boxes. Maybe some of yours have other solution? Regards Waldemar. -- The ultimate all-in-one performance toolkit: Intel(R

[perl-win32-gui-users] How to improve refreshing speed

2010-06-07 Thread Waldemar Biernacki
Hello! I have a question: How to improve refreshing speed? Problem is as follows: I refresh labels and textfields very offen in table views. The refreshing consists of changing mainly background, but also foreground, fontsize etc. The way I am doing it is using $object->Change( @parameters )

[perl-win32-gui-users] Problem with graphic application

2010-05-11 Thread Waldemar Biernacki
Hello! I have a GUI application which from time to time crashes. Buttons, textfield and other object disappear, but not the all. It's very strange because the application can work persistent few hours without problem but sometimes the problem happens few times in one hour. This is an applicatio

Re: [perl-win32-gui-users] What with this Tab key?

2009-06-18 Thread Waldemar Biernacki
I should add I used it Perl 5.8 Aactivestate. Strange but it works in 5.10? Bad new is that I am using PerlApp to wrap the application and this 8.01 Activestate wrapper does NOT work on all Windows XP machines whereas that version 6 of PerllApp does. Waldemar ---

[perl-win32-gui-users] What with this Tab key?

2009-06-16 Thread Waldemar Biernacki
Hello! I have spent much time to force my program working on my way and finally lost... Below is the code. The question is: how to force the comboboxes (f2,f3) to catch TAB event similarly to that of the textfields(f0,f1)? The mark of such behavior would be printing the "gogo" letters. regards

Re: [perl-win32-gui-users] How to catch keyboard event like LeftAlt+F5?

2009-06-02 Thread Waldemar Biernacki
Kevin! This is what I was looking for and your example is perfect. > Hope this will help. It's already helped :) Thank you! Waldemar -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking t

[perl-win32-gui-users] How to catch keyboard event like LeftAlt+F5?

2009-05-30 Thread Waldemar Biernacki
Hello! I have the following problem: I can manage AltGr+F5 (RightAlt+F5) and all keyboard events with OEM and NEM. However I don't know how to catch the LeftAlt+F5 and similar. Can anyone help me? regards Waldemar -

[perl-win32-gui-users] Is it possibly to make menu with user defined font (family, style, weight and size)?

2009-03-26 Thread Waldemar Biernacki
Hello! I was searching in the Internet but without any result. Is it possibly in Perl - Win32::GUI make menu with user defined font (family, style, weight and size)? Any pointer or example would make me happy! Waldemar. -

Re: [perl-win32-gui-users] I need mouse method!

2009-03-21 Thread Waldemar Biernacki
Oh Jeremy, you are perfectly right! I am so inpatient! Thank you for your help! Waldemar. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabi

[perl-win32-gui-users] I need mouse method!

2009-03-20 Thread Waldemar Biernacki
Hi All! Is anybody know how to get the following result: The best I want to make left mouse button pressed and then get series event send to the application. Quite similar to that of onMouseMove events. I noticed that the system knows the event onMouseOver, but it does not perform any method.

[perl-win32-gui-users] Firefox instead IE

2008-07-22 Thread Waldemar Biernacki
Hello! Is it possible to use Firefox instead of IE in these ActiveX components? Waldemar - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Mobli

Re: [perl-win32-gui-users] Perl-Win32-GUI-Users Digest, Vol 26, Issue 2

2008-07-05 Thread Waldemar Biernacki
Thank you E. Westbrook! It works perfectly. Waldemar - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduce

[perl-win32-gui-users] mouse rolling events

2008-07-02 Thread Waldemar Biernacki
Hey everybode! Do you know whether mouse scrolling button is implemented in Win32::GUI and how? Waldemar - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite

[perl-win32-gui-users] How to scale bmp?

2008-04-12 Thread Waldemar Biernacki
Hello everyone! How is going? We've spring here! at last To the point: I can my all window be scaleable except bitmaps, which I do with package Bitmap. May someone could help with the problem? Problem is that my window dimensions are taken from a bitmap and then all other objects are put on

Re: [perl-win32-gui-users] WHERE IS THE LOGIC?

2007-12-04 Thread Waldemar Biernacki
Thank you Brian, it works! Waldemar Wednesday 05 of December 2007 02:34:50 napisałeś(-łaś): > Waldemar Biernacki wrote: > > Hello! > > > > At the end I've enclosed the little code of Perl/Win32:GUI. > > > > If you start the code you can notice t

[perl-win32-gui-users] WHERE IS THE LOGIC?

2007-12-04 Thread Waldemar Biernacki
Hello! At the end I've enclosed the little code of Perl/Win32:GUI. If you start the code you can notice that the sequence is the following: 1. Window appears on the screen. 2. An incomplete "field1" appears too. 3. After 2 seconds it disappears!!! for next 2 seconds and the field "field2" is di

Re: [perl-win32-gui-users] How to dynamically combine bitmaps in toolbar

2007-08-29 Thread Waldemar Biernacki
Ed, It does help! thank you! Waldemar - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Downlo

Re: [perl-win32-gui-users] How to dynamically combine bitmaps in toolbar

2007-08-26 Thread Waldemar Biernacki
Thank you Robert!, I tried to do this imageList instead, however documentation is not clear enough for me... :( Temporaly solution is making a serial independent Buttons. Thanks again, Waldemar Dnia niedziela, 26 sierpnia 2007 13:21, Robert May napisał: > On 22/08/07, Waldemar Bierna

[perl-win32-gui-users] How to dynamically combine bitmaps in toolbar

2007-08-22 Thread Waldemar Biernacki
Hello everyone! I've found usefull notes on toolbar. However I have not found how to combine different images to get one toolbar. Later on is my code. I have three bitmaps: one, two and both. If you call the script as follows: perl script.pl both then you get two-images toolbar. But if you cal

Re: [perl-win32-gui-users] textfield looking like html/css input

2007-05-02 Thread Waldemar Biernacki
Hi! Now I've got another problem. Memory one. Here is an application that make ten windows if you press right arrow key and destroy them if you press left arrow key. After I create 10 windows Windows Task Menager reads that perl is using 6704K memory (I use WinXPHE sp2). This is maximal number

Re: [perl-win32-gui-users] textfield looking like html/css input

2007-04-25 Thread Waldemar Biernacki
Robert May napisał: Thank you Rob! I'll can control my screens much more now. Waldemar Waldemar Biernacki wrote: I have two input fields (in html/css dialect): 1. 2. The first one is a normal textfield in Win32::GUI. I would be very, very pleased I someone could give me a wa

[perl-win32-gui-users] textfield looking like html/css input

2007-04-25 Thread Waldemar Biernacki
Hi! I have already asked about the problem earlier but no one could answered me. I am doing it again reformulating the question. The answer (positive or negative) is very important for me. I have two input fields (in html/css dialect): 1. 2. The first one is a normal textfield in Win32::GU

Re: [perl-win32-gui-users] Installing Win32::GUI (cpan) on perl/mingw/dmake

2007-04-24 Thread Waldemar Biernacki
Robert May napisał(a): On 23/04/07, Reini Urban <[EMAIL PROTECTED]> wrote: Hi Waldemar, 2007/4/22, Waldemar Biernacki <[EMAIL PROTECTED]>: > 1. the file GUI.rc (in root install directory) has readonly attribute > and installation stops. When I change it to read/write attri

[perl-win32-gui-users] Installing Win32::GUI (cpan) on perl/mingw/dmake

2007-04-22 Thread Waldemar Biernacki
Hi! I've decided to install Win32::GUI on my machine (WinXPHE) via cpan port. I've compiled perl from source using mingw+dmake and everything pass OK. BUT... when I was installing Win32:GUI (1.05) from cpan (using polish mirror) I've noticed two problems: 1. the file GUI.rc (in root install di

Re: [perl-win32-gui-users] User32 error in script [Was: Keyboard events difference on WinXP and 98]

2007-02-12 Thread Waldemar Biernacki
Hello! I've got the following problem: My textfield object has its value which is dynamically determined while the application is running. I can set background of the textfield dependent on the textfield value vary easy: by using Change(...) function. However when I aply the Change function to

Re: [perl-win32-gui-users] User32 error in script [Was: Keyboard events difference on WinXP and 98]

2007-02-05 Thread Waldemar Biernacki
Robert, thank you for your efforts and email, I'll try my best to clarify... The idea is to create and manage many windows. The clue is that I do not know how many of them can be created. To open new window we use Right key, to close Left and to switch between windows Enter. I was working o

Re: [perl-win32-gui-users] Keyboard events difference on WinXP and 98

2007-01-29 Thread Waldemar Biernacki
Hello, I have one question more. Later on a code is given (I have Win32::GUI ver 1.05). Sorry! - it is not as simple as it should be! The point is that in WindowsXP it works fine but in Widows 98 SP2 it does not. Windows' error screen points to USER32.DLL error. Maybe someone could help me and

Re: [perl-win32-gui-users] Keyboard events difference on WinXP and 98

2007-01-28 Thread Waldemar Biernacki
Hey! I have more general questions. Introduction: I wrote an application which seems to act in WindowsXP correctly but in Windows98 very unstable. The main feature of the application is that it contains dynamic number of windows which can be created while the application is running. In the f

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

2007-01-28 Thread Waldemar Biernacki
Hello! Could anyone give me an advice how to dubug perl Win32::GUI script? I tried Activestate's and OptiPerl's debuggers but both stop on Win32::GUI::Dialog() function and I do not know what to do next. regards Waldemar.

Re: [perl-win32-gui-users] Keyboard events difference on WinXP and 98

2007-01-19 Thread Waldemar Biernacki
Robert! Thank you for your explanation. I don't :-) I think you are missing some of the subtleties of windows GUI programming. I have to admit... That depends what you mean by 'does not work'. I agree, it does work. If you add a menu to the window, I think it becomes a bit more obvious (co

Re: [perl-win32-gui-users] Keyboard events difference on WinXP and 98

2007-01-19 Thread Waldemar Biernacki
I think that in Win32::GUI there is a bug. When you start the code attached at the end of the mail then you can see that: 1. key F10 does not work. The same is in WinXP and in Win98. 2. When I did similar program for Win32-Console package it work correctly. 3. The F10 key behavior is funny: i

Re: [perl-win32-gui-users] Keyboard events difference on WinXP and 98

2007-01-18 Thread Waldemar Biernacki
Robert May wrote: I don't have both systems. What is different between them? The problem is that one perl script gives different outputs on different Windows versions: XP and 98(SE). Both systems have Perl 5.8.817 (ActiveState) and Win32-GUI 1.05 (installed from ppd). I rewrote the console out

[perl-win32-gui-users] Keyboard events difference on WinXP and 98

2007-01-18 Thread Waldemar Biernacki
Hello! Maybe you could me help? I have the code (read later please). What is my problem? The aim of the program is to catch keyboard events and write them into string named $_EVENT. However it works different in WindowsXP (correctly I think) and in Windows98 (wrong). It can be seen in console p

[perl-win32-gui-users] What going on with a border of the edit field.

2006-11-07 Thread Waldemar Biernacki
Hello! I use the fresh 1.05 version, but previously I've got the same problem. I have the notepad.pl Win32::GUI example. When I compile it with the command "perl notepad.pl" the field's border is THREE-DIMENSIONAL. However, if I use Activestate's perl to exe program to change notepad.pl into no

[perl-win32-gui-users] Printing documents in Perl/Win32::GUI

2006-06-27 Thread Waldemar Biernacki
Hello, I've found motepad.pl demo in the demos directory. It is very usefull for me. However there is not given an example of printing. Yes, there is in the menu print option, but unfortunately no code behind it. Is anyone able to show me full example of printing a simple text document direc

Re: [perl-win32-gui-users] Is it bug connected with -visible option?

2006-06-13 Thread Waldemar Biernacki
Jason P wrote: > > Waldemar Biernacki wrote: > >> Hello! > >> > >> I've got the following code (at the end if the mail). Here I've got two > >> buttons: one to change label's text and other to change its visibility. > >> The text f

[perl-win32-gui-users] Is it bug connected with -visible option?

2006-06-13 Thread Waldemar Biernacki
Hello! I've got the following code (at the end if the mail). Here I've got two buttons: one to change label's text and other to change its visibility. The text flip button works fine, whereas that connected with visibility doesn't. Could you show me error in my code? Maybe there is a bug in Wi

[perl-win32-gui-users] Flat and color border in textfield objects

2006-02-24 Thread Waldemar Biernacki
Hi! Does anybody know how to force win32::gui border to be flat and colored, Mow textfields seem to be inset. Something like html/css: border:solid 1px #ff; regards Waldemar Biernacki

[perl-win32-gui-users] Re: Problem with (Shift)Tab key

2006-02-15 Thread Waldemar Biernacki
to Robert May. Robert, thank you for your perfect answer to my question! It solves my problem and I am happy again... :) with best wishes, Waldemar Biernacki