OpenGL window with windows forms designer

Started by
5 comments, last by Kajima 20 years, 1 month ago
Has anyone made an openGL window with windows forms desinger yet? (or even just hand coding one with windows forms). Since windows is moving toward .net anyway i''d rather not waste my time learning the old way.
Advertisement
maybe im missing your problem. an opengl window should be just a window like the rest. besides that, how you create your window seems pretty unimportant and "learning the old way" is making it sound like a complicated thing that needs weeks to change.
btw. you could as well say: as windows is going longhorn and tcpa, dont waste time with platform dependent development.
f@dzhttp://festini.device-zero.de
Longhorn is exacty why I don''t wanna waste my time with the old way. Thing is i''ve just started learning openGL and kinda don''t wanna take all that time to learn somthing that is going out anyway. (and a pain in the ass).
its hardly ''learning''... write the code once, put it somewhere safe and forget about it.
If you''re doing full screen and dont want to bother with it then god bless SDL.
As for windows forms I guess thats for non-full screen stuff, so shove a control on teh form and then from code grab its hDC somehow and turn it into an OpenGL context.
Chances are there is no ''automatic'' way to do it, something about MS and not caring about OpenGL or something... *shrugs*
Whats "windows forms"? a new way to handle windows and dialogs under .net or longhorn?

Shouldnt be too hard to get a hDC and do some rendering from there...

Salsa cooked it, your eyes eat it![Hugo Ferreira][Positronic Dreams][Colibri 3D Engine][Entropy HL2 MOD][My DevDiary]
[Yann L.][Enginuity] [Penny Arcade] [MSDN][VS RoadMap][Humus][BSPs][UGP][NeHe]
Prozak - The GameDever formally known as pentium3id
Just initialize OpenGL and get the hDC Someway, I dunno how but I would help you more if I had vc++ .net installed at the moment
http://sourceforge.net/projects/pingux/ <-- you know you wanna see my 2D Engine which supports DirectX and OpenGL or insert your renderer here :)
check out http://www.fltk.org/ , learn how to use the fluid form designer, and read the documentation on how to create an opengl drawing area within the forms. It''s easy, it really is.

This topic is closed to new replies.

Advertisement