I wanted to ask about winApi 32 custom icons creation. When I define icon in recource.h:
#define IDI_MYICON 1
What does that number, in this case 1 mean?
And what about IDI is it just a standard or it actually means something?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1is the value,IDI_MYICONis just a placeholder for the1IDIis an prefix and stands forAn Icon or bitmap resourcesee this list
Normaly ResourceID’s get assigned automaticly by Visual Studio (or other IDE).
So you could use
IDI_MYICONinstead of using the1in your code.