Archived

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

Understanding forms

This topic is 5147 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I asked this in the opengl forum but it probably would have been better here. I am trying to understand the form class in .net. When i create my main application window, it is a class derived from the form class. Does this mean everything that i put on my app has to be a control? I am trying to figure out how to setup opengl without using the glcontrol provided with csgl. Does all my ogl views have to be controls to put them on my form or is there another way? Thanks

Share this post


Link to post
Share on other sites
I am trying to understand what you are asking. Generally, whenever you want to add something onto the form visually you use something derived from Control. But you can declare instances of different classes all you want inside the code of a class that inherits Form.

I don''t have any experience with OpenGL, but if I had to guess the Handle property would get you started, wouldn''t it?

Share this post


Link to post
Share on other sites