PDA

View Full Version : need help with multiple windows



mflkne
03-19-2003, 05:35 AM
i'm trying to write a program in c++ that has multple views, each defined by the same class . i don't and will never use mfc.
creating one view works perfectly but when adding a second one the first view is getting grey and only the second one is drawn.
how can i prevent this behavior and make both render correctly

thanks for your help
mflkne

dawn
03-19-2003, 06:07 AM
Take a look on wglMakeCurrent.