Re: How do you say "OK"?
Reply #3 –
That works unless the focus is set to a multiple-line edit control that has ES_WANTRETURN set.
NWC 2.51 has 3 multiple-line edit controls. Two of them have ES_WANTRETURN set.
They are:
Tab, Enter will close them.
For the ugly details, see: Just because you're a control doesn't mean that you're necessarily inside a dialog box.