Noob win32 problem

Started by
2 comments, last by crazykid48x 18 years, 4 months ago
I know this is a noob problem and I really didnt want to post it but its really starting to piss me off. Im trieng to use WM_KEYDOWN in my winproc, the problem is the VK_A-VK_Z and VK_0-VK_9 wont work. VK_SPACE, VK_F1-VK_F12, VK_UP, VK_RIGHT all work perfectly, heres the error I got when I tried VK_A: main.cpp: In function `LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)': main.cpp:84: error: `VK_A' undeclared (first use this function) main.cpp:84: error: (Each undeclared identifier is reported only once for each function it appears in.) thanks 4 the help
Advertisement
Try using 'A' (including the quotes) instead of VK_A. Might be 'a' - I haven't read WM_KEYDOWN messages in a long time.
Thanks, that worked.
I have another noob win32 question and I decided against making yet another thread. Anyways, my question is: Are there any functions to rotate and scale bitmaps? I checked my reference but I didnt see any.

This topic is closed to new replies.

Advertisement