• Advertisement
Sign in to follow this  

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

This topic is 4224 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

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
Advertisement
Sign in to follow this  

  • Advertisement