PDA

View Full Version : Multiple windows in MFC



genesis
06-09-2003, 02: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.

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

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


around your gl code.