Developing Keyman
What’s wrong with TranslateMessage?
What’s wrong with TranslateMessage? Two things: It probably shouldn’t be in the message loop. Different windows do different things with character and keystroke messages. Performance is not an issue here nowadays. Having TranslateMessage in the message loop has resulted in awful things such as IsDialogMessage and TranslateAccelerator calls for every Read more…