Sign in to follow this  
paic

[.net] bool ProcessKeyMessage(Message % m) not catching keydown ?

Recommended Posts

Hi, I have a control which I use to display a Direct3D scene. In this control, I overrided the ProcessKeyMessage method to be able to move my camera by pressing the up, down, left and right arrows. But the problem is : I'm not catching the keydown event ... ProcessKeyMessage is only called when I release an arrow (send a keyup msg only) Do you know if this is a "normal" behavior ? And if so, how could I catch the keydown event ? I tried the OnKeyDow method, but for a reason I ignore, it doesn't work for arrows ... Thx for any help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this