Vincent Povirk : notepad: Check IsDialogMessage before TranslateAccelerator.