Please !! Stupid Icon !!
Ok, I''ve had it !!
Why can''t i get that small upper-left icon thingy
to work well in my app? All windows apps
have that icon, why doens''t mine work?
Someone please point me some code or url...
I''m out to shoot myself, thank you...
Hugo Ferreira
UniteK Future
"My Name Is Jerry."[TheSphere]
Hi pentium3id. Me again...
Basically, (I''m pretty sure I remember you saying you use VC++) you need to make a 32x32 icon for your app. This is the large icon. Then, click the little thing to make a 16x16 icon. Make them both within the same file. In your application, you must define a WNDCLASSEX structure in the beginning of your program (you already have most likely). Add the line
//assuming your structure is named wndclassex
wndclassex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_WHATEVER));
wndclassex.hIconSm = NULL;
This will automatically make the small icon set to the small icon within the file used for the large icon.
Basically, (I''m pretty sure I remember you saying you use VC++) you need to make a 32x32 icon for your app. This is the large icon. Then, click the little thing to make a 16x16 icon. Make them both within the same file. In your application, you must define a WNDCLASSEX structure in the beginning of your program (you already have most likely). Add the line
//assuming your structure is named wndclassex
wndclassex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_WHATEVER));
wndclassex.hIconSm = NULL;
This will automatically make the small icon set to the small icon within the file used for the large icon.
What app do u use for icon editing? microangelo?
Hugo Ferreira
UniteK Future
"My Name Is Jerry."[TheSphere]
Hugo Ferreira
UniteK Future
"My Name Is Jerry."[TheSphere]
OK.
Im using Microangelo, and a DX icon.
This Direct X icon has 4 layers,
a 16x16x(16/256) and a 32x32(16/256)
so it has 4 icon version inside.
Im using it.
Why doesn it work?
Heres the code for the window:
is there interference from the window type with the icon displaying ability?
Hugo Ferreira
UniteK Future
"My Name Is Jerry."[TheSphere]
Im using Microangelo, and a DX icon.
This Direct X icon has 4 layers,
a 16x16x(16/256) and a 32x32(16/256)
so it has 4 icon version inside.
Im using it.
Why doesn it work?
Heres the code for the window:
|
is there interference from the window type with the icon displaying ability?
Hugo Ferreira
UniteK Future
"My Name Is Jerry."[TheSphere]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement