Jaws's picture

the problem of windows resizing

hello everyone, I use the glControl1_Resize in windows forms application just as the Manual tell, but i can not make it. the code runs well, but when i change the size of the windows, the windows of OpenGL doesn't change its size.

Can any one tell me how to do this?

Thank you avance!


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

You need to anchor or dock the GLControl to the parent form. Check the Dock and Anchor properties for the GLControl (if you are using Visual Studio these can be found in the property designer).

Jaws's picture

Thank you very much!!
It works well!!

Merci beaucoup!!

Il marche bien!!