I know that OpenGL can work with the classic window created by CreateWindow and processes the device context (GetDC), but is it possible for OpenGL to work with the .NET form? I want to turn a .NET form into an OpenGL window.
Yes it is possible. OpenGL requires a window handle, accessible through the Form.Handle property. To get the device context, call GetDC using this handle.
http://www.codeproject.com/KB/miscctrl/OpenGLViewWinForms.aspx
Source: https://habr.com/ru/post/1369364/More articles:How can I do Get on InputStream? - wolfram-mathematicaHow to specify java compiler option in IntelliJ and Ant - javaHow to conditionally hide a page title in a Reporting Services report - sql-server-2008https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1369362/how-do-you-know-the-version-of-the-remote-mercurial-repository&usg=ALkJrhiyZgIKkFuoxMivSdqOhsTKSIbSLwDisable filter in specific module / action in symfony - filterVolatileImage JFrame on multiple screens - javaJFrame The default size on ubuntu - javaHow to allow "class should be used when declaring a friend"? - c ++Why does my custom font have positional bias in some browsers? - cssHow to get marked items from an object with multiple choices in Alert.Builder? - javaAll Articles