With a new semester I have new class called Basisc of computer graphis where we are learning about Open Graphics Library.
I have few questions which Mr. Google couldnt answer.
1) Declaration :
long pascal Window_Procedure (HWND hwnd, unsigned int m, unsigned int w, long p)What is 'pascal' and where it comes from ?
2)
wc.hIcon = LoadIcon(NULL, IDI_WINLOGO); // Load The Default IconHow can I load another iconm how to make one and so on..
3)And Finally, almost in every code I can find something like :
MSG msg;
while(::GetMessage(&msg, NULL, 0, 0))
{
::TranslateMessage(&msg);
::DispatchMessage(&msg);
}
I can't seem to find class MSG. What this loop is doing ?Where it's dispatching msg ?
4) Apart from classes, our teacher recommended to us NeHe Productions - Everything OpenGL page for free solid tutorials, however I find it preety difficult. The first lesson has way too much loops and tweaks and It's also hard to read since there are no header files. Can any one recommend me other OGL page with nice tutorials ?


Sign In
Create Account


Back to top









