Jump to content
  • Advertisement
Sign in to follow this  
usman1266

OpenGL Mouse or Keyboard function in VC++.net

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

How to implement mouse or keyboard function in window form VC++.Net in opengl? I want to implement zoom in/out rotation,I find code in vc++ 6.0 but i am unable to find and implement in Window form level. I am using this article for implementing Opengl in form level http://www.codeproject.com/KB/miscctrl/OpenGLViewWinForms.aspx ------------------------------------------------ www.ashscholar.com/blog

Share this post


Link to post
Share on other sites
Advertisement
So you're using C++/CLI? Why?

The Form class has event you can subscribe to to listen for things like MouseMove, MouseDown, et cetera. You can also looks at the Mouse class for more generalized access. Look at the Windows Forms documentation on MSDN.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!