• Advertisement
Sign in to follow this  

WinForms Keypress absence solution (C#)? *Solved*

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

Hello, I'm rendering a Direct3D window on a panel control in C# on my main form. The only other control is a drop down list. I want to be able to handle keypress events to change what is rendered by DirectX, but a Panel control doesn't have Keypress events. I thought that the main form would handle the key press events because the panel couldn't, but it's clearly not. Does anyone have a solution for this problem? I'd render the DX result onto the form itself except that the main form can't take focus from the drop down menu, and so I still am not able to handle keypress events on the actual DX window. Thanks - GeekPlusPlus [Edited by - GeekPlusPlus on June 3, 2005 3:15:55 PM]

Share this post


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

  • Advertisement