Advertisement

how do u??

Started by December 12, 2002 02:19 PM
2 comments, last by tristantheone 21 years, 11 months ago
How do u program it in c++ so that if the user pushes esc the program ends??
What kind of program, what os?

Windows program on, ehm, Windows?

Handle the WM_KEYDOWN message... see msdn.microsoft.com for details. If the user presses esc, call PostQuitMessage or something.

I really recommend you check out the beginners section.
Advertisement
i will check the beginners section anyways thanks for the help
i will check the beginners section anyways thanks for the help

This topic is closed to new replies.

Advertisement