View Full Version : Multiple windows in MFC

06-09-2003, 01:47 AM
Is it possible to have more than one instance of a GL window on a dialogue based app under MFC, I can get one to work but do not know how to get more than one working, any help appreciated.

06-09-2003, 03:29 AM
Create each window in a thread or just put a

wglmakecurrent(hdc, rc);
wglmakecurrent(NULL, NULL);

around your gl code.