OpenGL Super Bible! Page 457 WNDCLASS wc; /* (Web hosting india)
OpenGL Super Bible! Page 457 WNDCLASS wc; /* Window class */ POINT pos; /* Current mouse pos */ /* * Initialize the terrain to all grasslands */ InitializeTerrain(); /* * Register main window */ wc.style = 0; wc.lpfnWndProc = (WNDPROC)SceneProc; wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc.hInstance = hInst; wc.hIcon = NULL; wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = 0; wc.lpszMenuName = MAKEINTRESOURCE(IDR_MENU1); wc.lpszClassName = ‘Textured Scene ; if (RegisterClass(&wc) == 0) { DisplayErrorMessage(’Unable to register window class! ); return (FALSE); }; /* * Then create it */ SceneWindow = CreateWindow(’Textured Scene , ‘Textured Scene , WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 32, 32, 400, 300, NULL, NULL, hInst, NULL); if (SceneWindow == NULL) { DisplayErrorMessage(’Unable to create window! ); return (FALSE); }; ShowWindow(SceneWindow, nCmdShow); UpdateWindow(SceneWindow); /* * Load the bitmaps for the buttons, and then create the terrain * editing dialog. */ LoadAllBitmaps(hInst);
You need excellent and relaible webhost company to host your web applications? Then pay a visit to Inexpensive Web Hosting services.