07-08-2004, 02:25 AM
I've bought OpenGl 2nd edition. In chapter 17,
the codes were for WIN32 API. I want to shift
to MFC use MFC AppWizard. But I encountered a
problem.
For the belowing codes I didn't know how to
setup wc.style in MFC
application
int APIENTRY WinMain()
{
...
WNDCLASS wc;
...
wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC
...
}
Somebody helps....
the codes were for WIN32 API. I want to shift
to MFC use MFC AppWizard. But I encountered a
problem.
For the belowing codes I didn't know how to
setup wc.style in MFC
application
int APIENTRY WinMain()
{
...
WNDCLASS wc;
...
wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC
...
}
Somebody helps....