If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Guest
Post
by Guest » Sat Feb 26, 2005 6:44 am
Is it possible to change form icon ?
For example an image from
http://irrlicht.sourceforge.net/tut001b.html ;
Is it possible to change that white icon which is at the top of form ? I tried from the project options but that only changed the .exe icon of the project ...
danieLs
Posts: 6 Joined: Fri Feb 25, 2005 12:17 pm
Location: Romania
Contact:
Post
by danieLs » Mon Feb 28, 2005 3:14 pm
This is how i done it . Maybe it is the wrong way but now i don't know another one ...
Code: Select all
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
WNDCLASS wndWc;
wndWc.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_ICON);
RegisterClass(&wndWc);
return TRUE;
}
Guest
Post
by Guest » Mon Feb 28, 2005 4:13 pm
does it mean we have to use windows application ?
or is it possible to use this function with "empty project", if it is, how to use this function ?
tnx