Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Isolated Shell application icon

$
0
0

Hello everybody,

from "Customizing the Isolated Shell":

The application icon
You can customize the application icon, which is the icon that is displayed by the application name in the application title bar. Copy a different icon to the icon directory. In Solution Explorer, add the icon to the Resource Files folder. Then open the VSShellStub.rc file and replace the value of IDI_STUBPROGRAM with the name of the new icon.

I follow this guide step by step. I copy the .ico (16x16 and 32x32 in 4, 8 and 32 bit) in the "icon directory" (I have tried several places.) Then I add the icons to the main project -> Resource Files folder and set IDI_STUBPROGRAM (there is another, IDI_SMALL). I recompile.

If I use the main project folder as "icon directory", the icons file is replace by the default one, that with the empty document. If I use the solution Debug folder, which represents the installation folder, it works only partially because the small icon in the application title bar is not the 16x16 version but the 32x32 resized and therefore distorted. If I clean and rebuild the icon file is again replaced by the default.

I would need the icon file not to be replaced every time I rebuild, and fix the distortion. Any help will be much appreciated.

I use VS 2103.

Thank you.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>