RE: [perl-win32-gui-users] Accelerator bug?

2004-01-21 Thread Stephen Pick
Hooks were always after the regular handling code, except now they're after WM_PAINT and a few other events too. While it is not possible to retrieve the coderefs for specific NEM events, the only time I can imagine you wanting to do this would be to find out a handler that a particular gui object

Re: [perl-win32-gui-users] Accelerator bug?

2004-01-21 Thread Jez White
Steve, I think I have found some missing events (for graphics) but before I create any bug reports I'd like to check the XS code - but were should I look? Cheers, jez. - Original Message - From: "Steve Pick" <[EMAIL PROTECTED]> To: "Jez White" <[EMAIL PROTECTED]>; Sent: Tuesday, Januar

RE: [perl-win32-gui-users] Accelerator bug?

2004-01-21 Thread Stephen Pick
GUI_MessageLoops.cpp, there are events for graphics in the OEM but i don't see any NEM functionality for Paint(). the onMouseDown etc. events will probably work if the graphic is set to be interactive. Steve > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Beha

Re: [perl-win32-gui-users] Accelerator bug?

2004-01-21 Thread Jez White
Yeah all the events work in the OEM but not in the NEM - I just looked at the code and I'm not confident enough to get NEM working. Should I create the tracker item as a bug or a feature request? Cheers, jez. - Original Message - From: "Stephen Pick" <[EMAIL PROTECTED]> To: "Jez White" <

Re: [perl-win32-gui-users] Accelerator bug?

2004-01-21 Thread Glenn Linderman
I guess I didn't describe the condition well enough. I'll try again. The reason to obtain a handler, is if you want to augment the handler to do more stuff, behind its back. So WinSize.pm tries to write a Resize handler that when a parent window is resized, resizes and repositions all the ch

Re: [perl-win32-gui-users] ProgressBar inside StatusBar dont work with Timer

2004-01-21 Thread Steve Pick
Hi, Yep you've made a slight error - you've neglected to tell the progressbar where to be. In my example, I had a resize event for the main window (though it could be for the statusbar if you like) that sets the position of the progress bar in the statusbar by getting the co-ordinates of the part

Re: [perl-win32-gui-users] Accelerator bug?

2004-01-21 Thread Steve Pick
Ah I understand now. I don't believe one can even change the NEM handlers once set -- correct me if I'm wrong. So what we're looking for here is: 1. A way to change NEM handlers to something else. 2. A way to retrieve NEM handler coderefs. I will poke around and you should see this in my next comm

Re: [perl-win32-gui-users] Accelerator bug?

2004-01-21 Thread Glenn Linderman
Thanks Steve. I hadn't gotten as far as trying to change one... since I couldn't retrieve the current one, I never tried to change it... you've already carried the analysis further than I had! On approximately 1/21/2004 12:42 PM, came the following characters from the keyboard of Steve Pick: