Sign in to follow this  

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

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

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