Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

virtual key codes - mfc

Status
Not open for further replies.

phootballhead

Programmer
Nov 14, 2002
1
US
the compiler (vc++ 6) isn't recognizing the VK_A, VK_B, VK_C, etc for use in my overridden OnChar(...) func. I have everything set right as far as i can tell because VK_DELETE, VK_BACK, VK_SHIFT, etc ARE defined and able to be compiled, but not the VK_* where * is a letter or number.
i'm including afxwin.h and deriving from CFrameWnd.
thx for any help
 
I have never caught VK_*, just enter and escape but I belive that VK_A will map to ascii value of "A". Just check the data and verify that.

matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top