Drawing in Panel---help needed Urgent
-
hey... I am working on an application that used the complete form for drawing(using openGL) but the problem is that after I add menus to my application the menus are not displayed at run-time.... kindly tell how to solve this problem?? someone also suggeted to use of panel how to setup panel for drawing in C#?/ thanks
-
hey... I am working on an application that used the complete form for drawing(using openGL) but the problem is that after I add menus to my application the menus are not displayed at run-time.... kindly tell how to solve this problem?? someone also suggeted to use of panel how to setup panel for drawing in C#?/ thanks
You probably would find it easier to use DirectX. If you must use OpenGL, then I'd use C++, you're not going to be doing much directly in C#, I would expect.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
hey... I am working on an application that used the complete form for drawing(using openGL) but the problem is that after I add menus to my application the menus are not displayed at run-time.... kindly tell how to solve this problem?? someone also suggeted to use of panel how to setup panel for drawing in C#?/ thanks
If your using forms to display then the OGL takes over all drawing so you cant use the default drawing UI components. You'll have to create your own GUI components in OGL - i've done this in DirectX, and there are some good tutorials out there (CUnit for Directx is a good overview) Its been a long time since i used OGL, but to write to the panel instead of a form i think its just passing the Win32 draw parameter fo the panel instead of the form when you start OGL (it really was a long time ago) HTH