VK_ESCAPE doesent work in my dialog.

Started by
1 comment, last by Leadorn 21 years, 2 months ago
Hi I cant get my VK_ESCAPE to work in my dialogbox. Ive tried with VK_SPACE and it works. but not VK_ESCAPE. What can be wrong. It works in my main window. Im using WM_KEYDOWN.
Advertisement
Try using KEYDOWN, not WM_KEYDOWN
is this a modeless dialog box? are you using IsDialogMessage in your msg pump?

This topic is closed to new replies.

Advertisement