Re: [win32gui] [perl-win32-gui-hackers] Textfield WantReturn Works in Window not in DialogBox?

2005-10-30 Thread Robert May
Eric Hansen wrote: I am experiencing something strange in 1.02 release with textfields not Exhibiting the WANTRETURN behavior in DialogBoxes, but the do in Windows. The RichEdit control WANTRETURN works with DialogBoxes as shown in the Code below. I have to change to a Window to allow the text

Re: [win32gui] RE: [perl-win32-gui-hackers] T_HANDLE in the typemap

2005-10-30 Thread Robert May
Jeremy White wrote: Just done some performance testing with this type map: if(SvROK($arg)) { SV** out=hv_fetch((HV*)SvRV($arg), \"-handle\", 7, 0); if(out != NULL) $var = ($type) SvIV(*out); else $var = NULL; } else $var = ($type) SvIV($arg

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

2005-10-30 Thread Robert May
Jeremy White wrote: So in my last analysis I missed the 3rd way not to get the OEM event fired: returning 1 from the NEM handler. I personally don't see anything wrong with this logic, so long as you believe that returning 1 from an event handler means 'pass the event to the next handler', re

Re: [win32gui] Re: [perl-win32-gui-hackers] Missing SW_* constants

2005-10-30 Thread Robert May
SW_* constants are not defined in GUI_constants.cpp (nor exported in GUI.pm). In general there are many constants missing. There are 2 issues to address here: (1) How should we deal with constants? I, personally, don't like the way that Win32::GUI by default exports all it's constants into th