Only one context can be bound to a window at a time. The PM window must have been created with window client class CS_SIZEREDRAW and CS_MOVENOTIFY. The application cannot sub-class the window with WinSubclassWindow(hwnd) while an OpenGL context is bound to hwnd.


[Back: pglMakeCurrent - Parameters]
[Next: pglMakeCurrent - Related Functions]