PreTranslateMessage->PreTranslateInput->IsDialogMessageWhen IsDialogMessage processes a message, it checks for keyboard messages and converts them into selection commands for the corresponding dialog box. For example, the tab key, when pressed, selects the next control or group of controls, and the down arrow key, when pressed, selects the next control in a group.参看 MSDN的IsDialogMessage
email:[email protected]