Re: [perl-win32-gui-hackers] GUI_Events.cpp/DoEvent correct behaviour?

2005-10-20 Thread Robert May
Jeremy White wrote: Question: is this a bug? The only alternate behaviour I can come up with is that SetEvent(), rather than setting the NEM flag, should check it and bail out if it is not set (with a warning?). [The current behaviour is useful if you are sub-classing a control, and do not k

Re: [perl-win32-gui-hackers] GUI_Events.cpp/DoEvent correct behaviour?

2005-10-20 Thread Jeremy White
Question: is this a bug? The only alternate behaviour I can come up with is that SetEvent(), rather than setting the NEM flag, should check it and bail out if it is not set (with a warning?). [The current behaviour is useful if you are sub-classing a control, and do not know which method a

Re: [perl-win32-gui-hackers] Crash with Combobox GetLBText

2005-10-20 Thread Robert May
Jeremy White wrote: If we spend time on reworking some of the internals for Unicode is it worth us considering the implications of 64bit further down the road? I'd be very interested in starting to try to understand what 64bit support would entail. I'm starting to put together a list of thi

Re: [perl-win32-gui-hackers] GUI_Events.cpp/DoEvent correct behaviour?

2005-10-20 Thread Robert May
Jeremy White wrote: I haven't tried this yet, but it seems wrong. Can you raise a bug report and I'll dig further into this one. http://sourceforge.net/tracker/?func=detail&atid=116572&aid=1333060&group_id=16572 Ok - it seems this is only an issue when SetEvent is used (see example below, a

Re: [win32gui] [perl-win32-gui-hackers] GUI_Events.cpp/DoEvent correct behaviour?

2005-10-20 Thread Jeremy White
I haven't tried this yet, but it seems wrong. Can you raise a bug report and I'll dig further into this one. http://sourceforge.net/tracker/?func=detail&atid=116572&aid=1333060&group_id=16572 Ok - it seems this is only an issue when SetEvent is used (see example below, also on tracker). Wha

Re: [win32gui] RE: [perl-win32-gui-hackers] Crash in CommonMsgLoop

2005-10-20 Thread Jeremy White
If you have some code that exhibits this, then I'd be interested to try to reproduce it. I though I could explain it, but then couldn't get an example together that validated my explanation. Not really - as when you reduce the size of the application, the issue disappears. I'll keep an eye on

Re: [perl-win32-gui-hackers] Crash with Combobox GetLBText

2005-10-20 Thread Jeremy White
This would lead to a more complex macro/function, but would, I think be worth it. [snip] It would be a more complicated macro/function - but I agree with you, it would be worth it. This works nicely for the ANSI versions of the call, which return th ANSI encoded string of bytes that is suit