Icon in my OPenGL Executable
Hi!
I''m new to Win32 Programming, and I''d like to know if anyone can help me.
I''ve made an OpenGL program and I use Nehe''s OpenGL initialization in windows.
My Problem is the following one:
1- how can I do to make an Icon on my Exe file ?
I think I have to use a ressource, but how ?
2- And how to change the icon of the window ?
I think it''s there:
LoadIcon(NULL, IDI_WINLOGO);
but when I write: LoadIcon("toto.ico", IDI_WINLOGO));
It doesn''t work.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement