Gentle reminder: On a dialog box, do not give OK and Cancel accelerators

I know most of you know this, but I'm going to say it for the record. When you have a dialog box with an OK and/or Cancel button, do not give the keys accelerators. In other words, simply write DEFPUSHBUTTON "OK", IDOK, ... PUSHBUTTON "Cancel", IDCANCEL, Read More......(read more)

Written by The Old New Thing : Code on May 8th, 2008 with no comments.
Read more articles on 1340 and 1354 and 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and 544 and Code and Contributors.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .