Re: [perl-win32-gui-hackers] What is the -container option for?

2005-09-29 Thread Johan Lindstrom
At 08:44 2005-09-29, Glenn Linderman wrote: Does this have anything to do with grouping radio buttons into separate containers so that they can turn each other on/off, so that only one is on at a time? To have multiple groups of radio buttons in a window, one needs to have them in separate con

Re: [perl-win32-gui-hackers] Re: Roadmap to a v1.02 release

2005-07-01 Thread Johan Lindstrom
At 01:01 2005-07-01, Robert May wrote: For Reini and anyone else who wants it I have replace the RC2 source with RC3 source at http://www.robmay.me.uk/win32gui/ It compiles fine with: This is perl, v5.8.6 built for MSWin32-x86-multi-thread WinXP Visual Studion 6.0 /J -- ---

Re: [win32gui] RE: [perl-win32-gui-hackers] Roadmap to a v1.01 release [Was: Any release soon?]

2005-06-28 Thread Johan Lindstrom
At 01:12 2005-06-29, Robert May wrote: It's on my list, but it's such a huge task that until I get some time to think about it I don't really even know where to start. I think that a sanity check is a more likely short-term goal. Is it something that you've given any though to? Well, the fi

Re: [perl-win32-gui-hackers] Any release soon? (was: CVS Commits - bug fixes and enhancements)

2005-06-13 Thread Johan Lindstrom
At 18:45 2005-06-12, Robert May wrote: I was going to mail you off-list, as I was playing with the MinGW build last week to try to get the size down, and I succeeded in reducing the size of my GUI.dll for the current head build from 3104 KB down to 979 KB (which is only 100k or so bigger than t

[perl-win32-gui-hackers] Re: [The GUI Loft] Errors while exiting.

2005-02-11 Thread Johan Lindstrom
At 21:38 2005-02-10, mage990 wrote: Im having some trouble with errors during @ perl.exe terminiation... I've running: WinXP SP2 ActiveState Perl 5.8.4 Win32 0.23 (according to -MWin32 -e "print Win32->VERSION" Win32::GUI 1.0 Win32::GUI::Loft 0.23 The error occurs after the last line of my scri

Re: [perl-win32-gui-hackers] Using threads to keep the GUI alive

2005-01-31 Thread Johan Lindstrom
At 02:07 2005-02-01, Johan Lindstrom wrote: I experimented a bit with threads and how to use them to perform tasks in the background while still keeping the GUI responsive. This was of course intended for the gui-users list... /J

[perl-win32-gui-hackers] Using threads to keep the GUI alive

2005-01-31 Thread Johan Lindstrom
I experimented a bit with threads and how to use them to perform tasks in the background while still keeping the GUI responsive. This is a first draft. Hopefully it will be useful to someone. Demo with .gld file at: The program is u

[perl-win32-gui-hackers] Timer memory leak with -dialogui = 1

2005-01-10 Thread Johan Lindstrom
Recently a TGL user noticed a memory leak when TGL is running. http://groups.yahoo.com/group/theguiloft/message/593 After an evening of trying to isolate this I've found that it's related to Win32::GUI, and it happens when: - A Timer - on a Win32::GUI::Window with the $win->{-dialogui} = 1 or o

Re: [perl-win32-gui-hackers] TGL 0.25 released

2004-11-09 Thread Johan Lindstrom
At 20:02 2004-11-09, Laurent ROCHER wrote: I can made a v1.0 release this week-end. Regarding the PPM thing, I asked about the procedure on Perlmonks. PodMaster to the rescue: http://www.perlmonks.org/index.pl?node_id=406427 /J -- --- -- -- -- - - --

Re: [perl-win32-gui-hackers] State of the Docs

2004-11-09 Thread Johan Lindstrom
At 15:15 2004-11-09, Jez White wrote: The docs are not good, but better than nothing. The situation with the samples which is much more important improved. The docs have been much improved - are you sure you have got the updated versions? A while ago Steve and Laurent went through and updated

[perl-win32-gui-hackers] State of the Docs (was: TGL 0.25 released)

2004-11-09 Thread Johan Lindstrom
At 13:21 2004-11-09, Reini Urban wrote: Actually, it seems likely that most of the howls of protest are likely to be resolved by telling folks to keep top-level window objects in global variables :) yes, add this please to the docs. While we're on the subject, what's the state of the documen

Re: [perl-win32-gui-hackers] TGL 0.25 released

2004-11-08 Thread Johan Lindstrom
At 10:42 2004-11-03, Glenn Linderman wrote: I just released a new version of TGL that supports the 0.9 version, so Win32::GUI should be ready for it's 1.0 release, at least in that regard. Thanks Johan, did you learn anything significant in the process of producing it, other than what has alre

[perl-win32-gui-hackers] TGL 0.25 released

2004-11-02 Thread Johan Lindstrom
I just released a new version of TGL that supports the 0.9 version, so Win32::GUI should be ready for it's 1.0 release, at least in that regard. /J -- --- -- -- -- - - -- - Johan LindströmSourcerer @ Boss Casinos johanl AT DarSerMan.com Latest

Re: [perl-win32-gui-hackers] Setting the background of a window - broken?

2004-10-26 Thread Johan Lindstrom
At 17:26 2004-10-26, Jez White wrote: For the life of me I can't seem to be able to set the background color of a window - I know you could in previous versions. Surely -background => [255,0,0] should work just like with controls? I don't think that ever worked, but I'm not sure. You need to

Re: [perl-win32-gui-hackers] GUI 1.0.0 ?

2004-10-21 Thread Johan Lindstrom
At 22:41 2004-10-21, Glenn Linderman wrote: Sounds strange. And does this new/DESTROY happen frequently only after the main window disappears, or all through the execution of the code? And I don't know if DC's are subject to the cascading destruction of their parent window? There is a DC cre

Re: [perl-win32-gui-hackers] GUI 1.0.0 ?

2004-10-21 Thread Johan Lindstrom
The mouse movement problem was related to the parameters to the mouse movement and click event handlers. In earlier versions the first param was kind of unused (or at least undocumented), and I guess it was removed in this version. I'll just branch on version <= 0.9 to get that to work, no big

Re: [perl-win32-gui-hackers] GUI 1.0.0 ?

2004-10-19 Thread Johan Lindstrom
At 05:18 2004-10-02, Glenn Linderman wrote: Is there anything else stopping us from making Win32::GUI 1.0.0 ? And putting it on CPAN, even, if you have that figured out? Glenn asked me to check whether TGL would work with the release candidate. I installed the 0.99_1 PPM from SourceForge and

[perl-win32-gui-hackers] Color broken?

2004-06-29 Thread Johan Lindstrom
[Everything below relates 0.0.670] Re: this post over at PerlMonks: http://www.perlmonks.org/index.pl?node_id=370447 Is the -color of Win32::GUI::Class broken for anything other than system colors? According to the code, this should work: my $clsColor = Win32::GUI::Class->new( -name => "c

Re: [perl-win32-gui-hackers] GetOpenFileName enhancement

2004-05-14 Thread Johan Lindstrom
Hehe :) My point is that the module should hide the memory management junk from me. If I use the module, I want the user to select files, I don't want to allocate memory. I don't want to have to care about that. So the default behaviour should work for most people, most of the time. No surpris

Re: [perl-win32-gui-hackers] GetOpenFileName enhancement

2004-05-14 Thread Johan Lindstrom
At 06:53 2004-05-14, Glenn Linderman wrote: has a special return value for that case. Win32::GUI's GetOpenFileName wrapper doesn't really handle the special return value, and even if it did, it is not the greatest idea to have the user select his files twice, once causing overflow, and the sec

Re: [perl-win32-gui-hackers] Added Center method for a window

2004-04-22 Thread Johan Lindstrom
At 20:15 2004-04-22, Jez White wrote: The exception is GetKeyboardState. There are various possibilities for implementation - but it would depend on how people are using it. I actually use this function myself (to test if the CTRL key and other keys are pressed at the same time). Any thoughts on

Re: [perl-win32-gui-hackers] Added Center method for a window

2004-04-22 Thread Johan Lindstrom
At 18:22 2004-04-22, Jez White wrote: Sorry. I can put your name in if you wish - or remove it all together? Just put me up as a general contributor or something. A per method attribution seems ridiculous :) I was looking at some of the other functions in Adhoc (with an idea of adding them

Re: [perl-win32-gui-hackers] Added Center method for a window

2004-04-22 Thread Johan Lindstrom
At 18:03 2004-04-22, Jez White wrote: I've just committed a change to GUI.pm. The method Center which (surprise surprise) centers the window :) The code originally came from Adhoc.pm (I've no idea who the original author was, so couldn't credit them directly). That's me, but never mind. /J

Re: [perl-win32-gui-hackers] CVS commit

2004-01-08 Thread Johan Lindstrom
At 20:59 2004-01-08, Steve Pick wrote: > What happens if you do: > $win->Hook(WM_MOVE, $mysub); > $win->Hook(WM_MOVE, $myothersub); Two hooks are assigned. When $win receives WM_MOVE, $mysub is called, then $myothersub is called. Ah, that accounts for my confusion. The solution was more clever

Re: [perl-win32-gui-hackers] CVS commit

2004-01-08 Thread Johan Lindstrom
At 02:33 2004-01-08, Steve Pick wrote: When removing hooks they are identified by coderef, so this is WRONG: $win->Hook(WM_MOVE, sub { print "moved!" }); $win->UnHook(WM_MOVE, sub { print "moved!" }); In that case, UnHook will return false and the hook will not be removed because the codref pas

Re: [perl-win32-gui-hackers] DoEvents() bug.

2003-12-10 Thread Johan Lindstrom
At 17:38 2003-12-10, Aldo Calpini wrote: DoEvents is an important feature, and this bug should be solved. I've read what Steve has found out (the flush thing) and I'm totally puzzled. I will try to do some testing here to see if we can come up with something. Just throwing out ideas: Could it b

Re: [perl-win32-gui-hackers] CVS Commit

2003-12-03 Thread Johan Lindstrom
At 22:00 2003-12-02, Laurent ROCHER wrote: # figure out the correct background color # (to avoid the "white background" syndrome on XP) if(not exists $args{-color}) { my($undef, $major, $minor) = Win32::GetOSVersion(); if($major == 5 && $minor > 0) { $args{-color} = Win32::GUI::constant

perl-win32-gui-hackers@lists.sourceforge.net

2003-11-24 Thread Johan Lindstrom
At 15:15 2003-11-22, Steve Pick wrote: Drag & Drop support for files is already included in Win32::GUI::AdHoc and has been for some time. The DnD-stuff has two components: one Perl component and one XS component to provide the needed event. The XS stuff isn't in the Win32::GUI core. For TGL

Re: [perl-win32-gui-hackers] Re: [perl-win32-gui-users] CVS Update

2003-11-20 Thread Johan Lindstrom
At 21:34 2003-11-20, Laurent ROCHER wrote: I contiue to look in mail archive for more fix. Please add my drag-n-drop patch, both the XS code and the Perl code. No need for a separate module, just integrate it into the regular source. This is for 0.0.558, the line numbers will probably differ

Re: [perl-win32-gui-hackers] Submitting a patch

2002-01-21 Thread Johan Lindstrom
Aldo wrote: > I would like to submit a minor patch to Win32::GUI, providing drag-n- > drop functionality. How would I go about doing that? great! send it either to me, or to this list. It's all here (Perl + XS): http://www.bahnhof.se/~johanl/perl/Win32GUI/DragDrop.pm Please let me know if you

[perl-win32-gui-hackers] Submitting a patch

2002-01-18 Thread Johan Lindstrom
Hi all! I would like to submit a minor patch to Win32::GUI, providing drag-n-drop functionality. How would I go about doing that? /J -- --- -- -- -- -- - - - Johan LindströmSourcerer @ Boss Casinos [EMAIL PROTECTED] Latest bookmark: "Convertin