Arrow Key use in MFC vc++ Application
-
Hi, I am new in MFC vc++ Please help me to come out from an major issue. I want to move an object(Image,Rectangle) ..etc in Canvas buy using Arrow Key(left,right,up,down) in MFC VC++ application.only i get OnKeyDown()function I am not able to use this OnKeyDown()function to get keyboard event. please provide a proper code
-
Hi, I am new in MFC vc++ Please help me to come out from an major issue. I want to move an object(Image,Rectangle) ..etc in Canvas buy using Arrow Key(left,right,up,down) in MFC VC++ application.only i get OnKeyDown()function I am not able to use this OnKeyDown()function to get keyboard event. please provide a proper code
is this a dialog-based application? in that case, you need to handle WM_GETDLGCODE first: ex: OnKeyDown not called when pressing arrow keys[^]
-
is this a dialog-based application? in that case, you need to handle WM_GETDLGCODE first: ex: OnKeyDown not called when pressing arrow keys[^]
Hi Chris Losinger Yes this is dialog-based application but arrow key functionality i need to apply in canvas/editor not in dialog. Thanks