Sign in to follow this  
Nibbles

[.net] Custom Class Click event

Recommended Posts

You are going to have to override the WndProc method and handle the events yourself, essentially creating a Win32 window procedure.

The way the article is creating its window (deriving from NativeWindow), you basically lose a ton of .NET support for windows. I haven't studied it in depth for OpenGL, but you could probably derive from Form instead and still retain all of the cool features.

I know you can do this for DirectX; I would be surprised if you could not for OpenGL.

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