[perl-win32-gui-users] BUG REPORT[1164766]: Unhook() causes perl warning

2005-03-17 Thread Robert May
Glen, thanks for the report.I'd be interested in a 5.8.6 report from someone, so that I can narrow it down to perl, or simply my installation. perl v5.8.4 build 810, Win32::GUI v1.0.1 [snip] I notice the error message you reported was from line 40, but there were not 40 lines in your tes

Re: [win32gui] Re: [perl-win32-gui-users] Possible Bug with DoModal

2005-03-17 Thread Robert May
I'll raise a bug report, as I can see no reason why there should be a difference in behaviour depending on whether there is some code to move a window before the DoModal() call. Jez White wrote: Hi, Interesting one - I don't use DoModal much, but I use it like your example - it does seem od

Re: [win32gui] Re: [perl-win32-gui-users] BUG REPORT: [ 1164783 ] EnumMyWindows() does not work

2005-03-17 Thread Robert May
This looks exactly how I would have changed it. I would alter the documentation on EnumMyWindows from 'Returns a list of window handles created by your application.' to 'Returns a list of top-level window handles created by your application.' so that people don't think this will give them a list

Re: [win32gui] Re: [perl-win32-gui-users] BUG Followup[1092732 ]:Slider no longer supports setting position

2005-03-17 Thread Robert May
I beg to differ. The documentation (Trackbar.html) says: *|Pos([VALUE],[REDRAW=1])|* Set or Get maximum logical position for the slider in a trackbar Which I take to mean that the default for REDRAW is 1, and that you have to explicitly pass 0 not to redraw. It would certainly be locica

Re: [win32gui] Re: [perl-win32-gui-users] BUG REPORT[1164766]: Unhook() causes perl warning

2005-03-17 Thread Robert May
Thanks for looking at this. I get the problem on both the following platforms: Win2k(SP4), ActiveState Perl build 811 (5.8.6) Win32::GUI 1.0 Win98, ActiveState Perl build 811 (5.8.6) Win32::GUI 1.0 So I guess either a perl bug or a warning introduced between 5.6.1 and 5.8.6. Lo

Re: [perl-win32-gui-users] Possible Bug with DoModal

2005-03-17 Thread Jez White
Hi, Interesting one - I don't use DoModal much, but I use it like your example - it does seem odd behaviour, and I can't see any thing that is wrong. Perhaps it is a bug? Cheers, jez. - Original Message - From: "Robert May" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005

Re: [perl-win32-gui-users] BUG REPORT: [ 1164783 ] EnumMyWindows() does not work

2005-03-17 Thread Jez White
Hi, Now this is a bug - and I think I've fixed it (been committed - also added WaitMessage function). I'm not 100% sure I've considered all possible situations - for those interested the fixed code is below. Comments anyone? Cheers, jez. -- GUI.xs ##

Re: [perl-win32-gui-users] BUG Followup[1092732 ]:Slider no longer supports setting position

2005-03-17 Thread Jez White
Hi, I'm not sure if this is a bug, but a "feature":) The docs seem to imply that if you want the control to redraw then you have to explicitly pass 1. Thoughts anyone? Cheers, jez. - Original Message - From: "Robert May" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005 8:4

Re: [perl-win32-gui-users] BUG REPORT[1164766]: Unhook() causes perl warning

2005-03-17 Thread Jez White
Hi, I've tried to reproduce this bug using your example but I couldn't reproduce it. I'm on 5.6.1 638 Win32::GUI 1.0 Cheers, jez. - Original Message - From: "Robert May" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005 8:29 PM Subject: [perl-win32-gui-users] BUG REPORT[1164