Icon problem
-
Hi I have created a new Icon image for my program. I set the small icon and big one to my new icon and everything work fines. The problem is when i open the folder containing my exe file (inside debug): If i chose view -> Large Icons, i see that my app has my new icon BUT IF I CHOSE view -> Small Icons or List or Details, i see that my app icon is not my new one but the standard MFC blue icon. How can i change that? /\|-||\/|/\|)
-
Hi I have created a new Icon image for my program. I set the small icon and big one to my new icon and everything work fines. The problem is when i open the folder containing my exe file (inside debug): If i chose view -> Large Icons, i see that my app has my new icon BUT IF I CHOSE view -> Small Icons or List or Details, i see that my app icon is not my new one but the standard MFC blue icon. How can i change that? /\|-||\/|/\|)
In the Icon editor, you'll need to edit both the large (32x32) and small (16x16) images. It sounds as if you've changed the 32x32 image, but not the 16x16 one. An icon can contain multiple images, at different sizes and colour depths, and if you edit the icon, you have to edit them all.
-
In the Icon editor, you'll need to edit both the large (32x32) and small (16x16) images. It sounds as if you've changed the 32x32 image, but not the 16x16 one. An icon can contain multiple images, at different sizes and colour depths, and if you edit the icon, you have to edit them all.
-
In the Icon editor, you'll need to edit both the large (32x32) and small (16x16) images. It sounds as if you've changed the 32x32 image, but not the 16x16 one. An icon can contain multiple images, at different sizes and colour depths, and if you edit the icon, you have to edit them all.
-
Ah Ok man thx a lot ur the man But u should do one more thing: remove the following command: SetIcon(m_hIcon, FALSE); /\|-||\/|/\|)
Halawlaws wrote: remove the following command: SetIcon(m_hIcon, FALSE); why removing such a code line, that was generate by the wizard ??? it is there to draw the icon in small or high size depending on the program state (size of the window)...
TOXCCT >>> GEII power
[toxcct][VisualCalc] -
Halawlaws wrote: remove the following command: SetIcon(m_hIcon, FALSE); why removing such a code line, that was generate by the wizard ??? it is there to draw the icon in small or high size depending on the program state (size of the window)...
TOXCCT >>> GEII power
[toxcct][VisualCalc] -
toxcct wrote: why removing such a code line, that was generate by the wizard ??? Coz if u dont it wont work da :mad: /\|-||\/|/\|)
-
Hi I have created a new Icon image for my program. I set the small icon and big one to my new icon and everything work fines. The problem is when i open the folder containing my exe file (inside debug): If i chose view -> Large Icons, i see that my app has my new icon BUT IF I CHOSE view -> Small Icons or List or Details, i see that my app icon is not my new one but the standard MFC blue icon. How can i change that? /\|-||\/|/\|)
Gotcha!!.. got the remedy for ur ICON problem, on the resource tab..right click on the "IDR_MAINFRAME" icon.. see its property, its just accessing the ICON from /res/myapp.ico.. ("resource directory").. So go to your project folder, open the "res" folder, Replace the "default" MFC icon there with your Colorful ICON :) then Bulid your project, now no problem which mode u select to view your folder, the icon'd be the same.. try and reply.. V
-
Gotcha!!.. got the remedy for ur ICON problem, on the resource tab..right click on the "IDR_MAINFRAME" icon.. see its property, its just accessing the ICON from /res/myapp.ico.. ("resource directory").. So go to your project folder, open the "res" folder, Replace the "default" MFC icon there with your Colorful ICON :) then Bulid your project, now no problem which mode u select to view your folder, the icon'd be the same.. try and reply.. V
-
No man still the same problem. I think by defult the MFC draws the small icon stored in the registry. Thx for trying though /\|-||\/|/\|)
No, it doesn't. As mentioned above the same IDR_MAINFRAME icon in your resource contains both the large and small icons. To switch between them in the resource editor: Open the icon to edit From the Menu highlight Image/Current Icon Type. An additional menu should open showing you all of the different images for this one icon resource. Click on the selection you wish to edit. If this is a new MFC project using VC++.Net, you may icons for several different sizes and bit widths, e.g. 16x16 16 color, 16x16 256 color, 32x32 16 color, 48x48 true color, etc. You will need to edit each one individually. You may also choose to just delete the extra ones that you don't need. At the very least keep the 16x16 and 32x32 16 color versions.
-
No, it doesn't. As mentioned above the same IDR_MAINFRAME icon in your resource contains both the large and small icons. To switch between them in the resource editor: Open the icon to edit From the Menu highlight Image/Current Icon Type. An additional menu should open showing you all of the different images for this one icon resource. Click on the selection you wish to edit. If this is a new MFC project using VC++.Net, you may icons for several different sizes and bit widths, e.g. 16x16 16 color, 16x16 256 color, 32x32 16 color, 48x48 true color, etc. You will need to edit each one individually. You may also choose to just delete the extra ones that you don't need. At the very least keep the 16x16 and 32x32 16 color versions.