I just joined this list, but have searched the archive before posting. I know that keystroke processing issues with a multiline textfield have been discussed repeatedly. Evidently, the fix for the Enter key creating a new line is straight forward: add the ES_WANTRETURN style when creating the textfield.
I'm unclear, however, what the simplest fix is for the Tab and Shift+Tab keys moving to the next or previous control when the textfield has focus. I found code that used a hook method. It seemed to address Tab but not Shift+Tab. Also, I'm hoping that a simpler solution may have been developed, e.g., using a char or keydown event, or defining Tab and Shift+Tab as accelerator keys. I've struggled with these latter techniques without success, so perhaps they are not feasible--just want to be sure though before giving up on them. Another issue I found is that the Escape key closes a dialog but it is not trapped by a Cancel_Click event, which the documentation says it should be. Also, when I run a program with perl.exe from the command line, Escape cancels the dialog but leaves a Perl window open. On the other hand, if I use wperl.exe instead, this does not happen--though I'm not sure whether the Perl interpreter is still in memory but hidden. How can I let Escape cancel a dialog but also trap the event so other clean-up code can be run? The archives mention a Win32::GUI version that fixes at least some of these problems. Is there a binary test version available? I don't have or know how to use a C compiler at present. Regards, Jamal