# Noob win32 problem

## Recommended Posts

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

##### Share on other sites
Try using 'A' (including the quotes) instead of VK_A. Might be 'a' - I haven't read WM_KEYDOWN messages in a long time.

##### Share on other sites
Thanks, that worked.

##### Share on other sites
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.

## Create an account

Register a new account

• ### Forum Statistics

• Total Topics
627719
• Total Posts
2978797

• 10
• 9
• 21
• 14
• 12