Why can't I see the graphics drawn by opengl in solidworks ?
CClientDC dC(CWnd* parentWindow);
HGLRC hRc = ::wglCreateContext(dC.m_hDC);
::wglMakeCurrent(dC.m_hDC, hRc); (call this before each 'paint' operation)
When you are done using OpenGL for this paint'operation, call:
I followed the above instructions and generated my code,but nothing happened when I ran my program.What exactly is the problem ?
Anyone has any idea?