Icons

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Simo

Post by Simo »

I think that should work I only need to merge all the code to find the window and to set the icon, thanks to all, I'll tell you soon if it worked!
fritz

Post by fritz »

how would you get the pointer to hInstance through irrlicht? so then i could load my icon and send the msg to my window
Zizilamoroso
Posts: 17
Joined: Thu Jan 15, 2004 10:19 am
Location: Brussels
Contact:

Post by Zizilamoroso »

For a small icon, modify like this:

Code: Select all

WNDCLASSEX wcex;
...
wcex.hIconSm=LoadIcon(wcex.hInstance,(LPCTSTR)IDI_SMALL);
morlok
Posts: 4
Joined: Fri Jan 02, 2004 11:33 pm

Post by morlok »

SendMessage method works perfectly ;-)

thanks
Zaelsius
Posts: 38
Joined: Sat Aug 23, 2003 12:02 pm
Location: Alicante, Spain
Contact:

Post by Zaelsius »

Good :P
Post Reply