Archived

This topic is now archived and is closed to further replies.

S3DEV1

Windows Forms

Recommended Posts

You don''t need a specific tutorial. Every form has a Handle property, which just returns the HWND of the underlying window. From there, just proceed as you would normally (i.e. find any other opengl tutorial for windows, and remeber that any mention of HWND is talking about this Handle property.)


codeka.com - Just click it.

Share this post


Link to post
Share on other sites
quote:
Original post by S3DEV1
Where Can I get a Begginer''s OpenGL Tutorial using Windows Forms


What are Windows Form?

Check out this place, more spceifically the tutorials section which covers OpenGL in Windows pretty well, from the beginner''s to the advanced level.

Hope this helps,
Crispy

Share this post


Link to post
Share on other sites
I though he just wanted Windows Forms, not neccesarily C#... If you just want Windows Forms, my post is all you need. If you want OpenGL + C#, then go with csgl (though I''d wait until DX9 before doing 3D with C# or any other .NET language.)


codeka.com - Just click it.

Share this post


Link to post
Share on other sites
Yeah, you''re right, it should. I just think it''s going to be overkill. Especially since VC++.NET has slightly better native interop than C# (in that you can mix native and .NET together). So it''d probably be easier to just use opengl directly...

Actually, I''m not sure how it''d work if you used VC++.NET, so maybe csgl is your only option. I haven''t worked in .NET much yet (well, I haven''t used many interop features at least)

Still, I''d wait until DX9. .NET interop probably isn''t going to be all that fast, and DX9 should be quite easy to use from a .NET language.


codeka.com - Just click it.

Share this post


Link to post
Share on other sites