NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: Flurmy on 2014-01-11 05:11 pm

Title: How do you say "OK"?
Post by: Flurmy on 2014-01-11 05:11 pm
In the dialogs, how do you say "Ok" with the keyboard?
The only way I found is to press tab until the focus is on the "Ok" button.
Very annoying, in particular in the dialogs with a lot of components.
Title: Re: How do you say "OK"?
Post by: PhilHolmes on 2014-01-11 06:08 pm
Hit the "Enter" key?
Title: Re: How do you say "OK"?
Post by: Flurmy on 2014-01-11 06:19 pm
Yuk!
I should have used a dialog with an edit box that used the carriage return itself, but I can't recall which dialog was.

Thank you.
Title: Re: How do you say "OK"?
Post by: Rick G. on 2014-01-11 08:25 pm
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 (http://blogs.msdn.com/b/oldnewthing/archive/2007/08/20/4470527.aspx).