PDA

View Full Version : User Interface using OpenGL



Mukund
03-18-2010, 08:46 AM
Hello.Im new to OpenGL..I am developing a small time project on Windows using the OpenGL API.Im using VC 6.0 as my compiler.
This project is something like the MS Paint editor for drawing editing etc.
I have developed some background programs..I would like to know how we can include a good UI..that is, as in MS Paint where we can choose one drawing option among the many available..Please help..

James A.
03-18-2010, 05:07 PM
I'm not sure if this is exactly what you are looking for but you can create an OpenGL rendering context and attach it to a sub window in .net

See here for the basics:
http://www.codeproject.com/KB/miscctrl/OpenGLViewWinForms.aspx

you can then use the .net UI stuff which should be quite simple. I use something similar in C++/CLI for some tools,

Mukund
03-18-2010, 07:28 PM
Yeah that was kinda what i was looking for..I got an idea as to how i can proceed now..
Thanks for your help.