Dmitry Timoshkov : user32: IsDialogMessage should allow control ids other than IDOK when processing WM_KEYDOWN .