View Full Version : OpenGL for Windows Forms
10-12-2008, 04:43 PM
Does anyone know how to use OpenGL on a Windows Form?
If you konw,could you give me a simple example?
10-13-2008, 04:55 AM
I found a code
But I cannot run it, anyone can help me resolve it.
10-13-2008, 06:19 AM
There really should be little difference between Forms and vanilla Win32, save you need to use IntPtrs instead of HWND/HDC.
Same is true for WPF, but there you'll need to embed a Forms control in your window to access a window handle.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.