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
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 a
[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,
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
[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
Fatal makefile
[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;
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 beta
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 is
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 (just
[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 work...)
yes,
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 the
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
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.txt;
sorry,
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;
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 ?
Or are
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.
HINT
supposing your window is named Window, add this line to your
script:
sub
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 example
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
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
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 is,
Erick J. Bourgeois wrote:
Sorry to bother the list again, but Aldo, checking it's
undefness 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 pass the
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
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;
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:
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 through
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 {
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'
message if
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
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 :-)
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
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 DoSomethingElse
[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? Otherwise,
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 the
[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 epoch
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 you
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;
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 to
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 proxy
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;
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
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
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,
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?
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; },
);
***
Frazier, Joe Jr wrote:
but I still don't know what to do when you just say use Win32::GUI ;-)
vote type=my opinionUse old style by default. This avoids users
having to change thier code until they are ready to totally update thier
code./vote
yes, this is sure. by default the old style is
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__
[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
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;
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-{Nom}}, #
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
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);
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
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;
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 know why I
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!!!
So, it's not
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, since
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
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.
looks
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; },
);
***
Jeremy White wrote:
What is the status of win32::gui - is it being actively developed? I emailed
httptech a couple of days ago and just go lots of undeliverable messages.
yes, it is being actively developed. I'm currently working on the
internals and I expect to have version 1.00 ready for
Garside, Trevor wrote:
Aldo, that's great news!
Along those lines, yes, I would love to be able to see the changes you've
been working on for the next release.
I will release it on CVS so you can download it before the release.
there aren't really big changes, just a huge cleanup and some
Jeremy White wrote:
Aldo,
How do you want them submitted - via this list or via sourceforge?
if you have access to SourceForge, this is certainly the preferred way.
but a quick note on this list will help, too :-)
cheers,
Aldo
__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;
Maksim Golunov wrote:
Provide support for WinXP:
- WinXP control look
what do you mean by this?
- Window color (just run some window with labels on WinXP with standard
theme and you'll see)
I know, the white background. this is fixed now (I *really* do hate
Microsoft technical
Jeremy White wrote:
I assume he means that buttons and other controls in the standard XP theme
have different colours, curved edges etc. Also, under XP, the window is a
physically a different size than the one specified (due to the larger
boarders of the window I guess), which means the
Maksim Golunov wrote:
Perhaps, this may be of interest for you:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/h
tml/winxpintro.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/h
tml/xptheming.asp
interesting, but don't work for me.
I've
Fred P. wrote:
So here's my wish list: =)
[ Some of them already exist ]
hi Fred,
I've commented your list giving the (probable) Win32::GUI
equivalents to the widgets you mention. if you, or somebody else, has
some comments, feel free to share :-)
Standard:
=
TMainMenu:
Peter Eisengrein wrote:
for ($x=1; $x = $mechs; ++$x) {
$main-MECH$x-Text($MECH{$x}{'name'}\'s best
Strength setting is $MECH{$x}{'best'}.);
}
you can access sub-windows (eg. controls) as hash keys of the main
window. change your code to:
$main-{MECH$x}-Text( blah blah blah... );
Ounsted, Toby wrote:
Hi,
Would someone be able to test the below and confirm whether it's just me?
Specifically I can't get coloured text if the 'align' is in place for the
text field, but commented out the colours come back. What am I doing
wrong?!
Toby,
it doesn't show this behaviour
hello Win32::GUI people
I'm here, I'm here! I'm very, very sorry for my latitance. I know I
have promised a lot of things, a lot of times, and never respected
what I said. please accept my excuse for this.
and I'm very, very happy to see things moving and people willing to
help. as it is clear
Erick Bourgeois wrote:
Great to see you back.
I installed and played with CGI::Kwiki. The main problem I have
with this module/application is that users need to learn the wiki
language. (For example, to make a the H4 tag, you must put
4 = before and after the word(s).)
I am planning to use
Alain Morillon wrote:
Hi,
Is there a solution in order to save into a file some Icons which has been
extracted from Exe file ?
there is an undocumented write_iconfile method in Win32::Exe::IconFile.
so I guess this (untested!) is what you want:
$icon-write_iconfile(foo.ico);
cheers,
Andrey wrote:
Memory leak cannot be normal for any program. So, it is either Perl bug or
Win32::GUI bug
I don't know exactly where (or what) the bug is, but I found a workaround.
problem is, the Win32 heap is not freed (or garbage collected, or
whatever) while the window is active. if you
merryxmas wrote:
i have tried many plans but failed. there is Update, and restore functions
but it seems it is not working. after the wingui code i present a TK code to
the same problem and it is working well.
comparison with Tk is not fair, you are creating Labels with text .
there, which
On 19.03.2011 22:40, Waldemar Biernacki wrote:
My question: Does anybode can show me how I could use the memory of deleted
objects again?
see http://sourceforge.net/mailarchive/message.php?msg_id=24270723, it
should help with your issue.
cheers,
Aldo
On 23.03.2011 15:42, Jeremy White wrote:
I'm not sure the approach I use would help you as I draw the whole
screen (fonts, graphics, backgrounds etc). I've looked at this again,
and I think I've fixed the bug within Win32::GUI. You mentioned that you
built Win32::GUI from scratch, so if you
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 fact
that each label and textfield had its own font which in turn is just GDI
object
and the
On 24.03.2011 10:36, Jeremy White wrote:
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.
I committed the changes to fix the -background option GDI object leak.
I also added a -backgroundbrush option, which
On 31.08.2010 01:12, Hulley, Rob (APJ GCC Storage TPM) wrote:
Hi Everyone,
I am using “Win32::GUI::BrowseForFolder” .
I cannot work out how to add the “create new” option as seen on other
“browse for folder” windows.
Is this feature available?
hi,
I just added two options to the
On Mon, April 1, 2013 11:24 am, Soren Hein wrote:
I'm drawing stuff in a window, then minimizing the window to the bottom
part of the screen using the Windows underscore symbol. When my mouse
hovers over the minimized icon, the content is still there. When I click
on the icon to reopen the
On 01/14/2014 03:53 PM, Trebilcock, Richard wrote:
Good afternoon,
I am an ILS Engineer working for CGI IT UK Limited. At the present
time I am looking at software obsolescence issues that relate to the
project I am working on. On this project we use Perl-Win32-GUI
hello Richard.
looks
On 07/11/14 12:49, kmx wrote:
Win32-GUI-1.09 is available on CPAN
Build logs seems to be all green:
http://matrix.cpantesters.org/?dist=Win32-GUI%201.09
https://code.activestate.com/ppm/Win32-GUI/
nice job, kmx! thanks a lot :-)
cheers,
Aldo
On 10/11/17 07:55, Oshri Shomrony wrote:
Hello,
I'm using perl 5.24 with win32::GUI.
I would like to open a window and display on it multiple lines taken
from an array.
I would also like it to be scrollable in case the window is smaller
than the text size.
for some reason, using "\n"
82 matches
Mail list logo