The ico icon to appear or not
CodePudding user response:
Onlookers, help you top up,CodePudding user response:
It is recommended to use Icon Workshop software edit Icon file,CodePudding user response:
I have found a way to solve temporarilyI found that add resource files
Project directory, however, have no the file
Then as long as icon. The ico copy to below this you can use the ico file
But still felt unwilling
Why is directly added to the resource file, there is no effect??????? What is the significance of existence in the resource file this???????
CodePudding user response:
What is to set up the path, or something?CodePudding user response:
LoadImage if loader resources, specify hInstIf load the external resources, using the absolute path (can be obtained by GetModuleFileName App path, and then constructs the absolute path)
CodePudding user response:
//HBITMAP hBmp=(HBITMAP) LoadImage (AfxGetInstanceHandle (), MAKEINTRESOURCE (IDB_BITMAP1), IMAGE_BITMAP,//0, 0, LR_DEFAULTSIZE);
MAKEINTRESOURCE (IDB_BITMAP1)