• Advertisement
Sign in to follow this  

Noob win32 problem

This topic is 4469 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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 this post


Link to post
Share on other sites
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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement