getting a key in VC++
Here''s an easy question....
How would I go about getting a key press in visual c++ 6.0? I''ve tried getch() but that doesn''t seem to work very well. Is there anything better I can use?
Thanks very much.
- Daniel
http://sw.mtx.net/daniel/
- DanielMy homepage
If you''re doing Windoze programming,
these messages: WM_KEYDOWN or WM_CHAR.
( In some instances WM_SYSCHAR )
These might be slightly inaccurate ''cause i''m just saying off the top of my head, but that''s just about what you''re stuck with
these messages: WM_KEYDOWN or WM_CHAR.
( In some instances WM_SYSCHAR )
These might be slightly inaccurate ''cause i''m just saying off the top of my head, but that''s just about what you''re stuck with
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement