quick basecode question
Hi,
I haven''t touched the Win API for years and have forgotten a fair bit ! I was just wondering what exactly the purpose of the following (in the NEHE OGL BaseCode 2) code was.
case WM_CREATE:
{
CREATESTRUCT* creation = (CREATESTRUCT*)(lParam);
window = (GL_Window*)(creation->lpCreateParams);
SetWindowLong (hWnd, GWL_USERDATA, (LONG)(window));
}
why do all this upon WM_CREATE ??
Cheers
<Fish>{
<Fish>{
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement