How to: Add Icons to Device Projects
Different smart devices display various types of icons. To encompass most Windows Mobile-based devices, your application's icon resource should include the following icon types:
32x32, 256 color
32x32, 16 color
32x32, 2 color
16x16, 256 color
16x16 16 color
16x16 2 color
Generally, 32x32 icons are used in the programs folder whereas 16x16 icons are used in the taskbar, the start menu, and file explorer. Also, most devices use the 256-color icon, but older and custom devices may use the 16-color or monochrome icon.
Note
Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Visual Studio Settings.
To add icons in Visual C++ device projects
Open your Visual C++ device project in Visual Studio.
In Solution Explorer, expand Resource Files, and then double-click the .ico file.
The Image Editor appears.
On the Image menu, click New Image Type and add the missing icon types such as 16x16, Monochrome and 32x32, Monochrome.
(Optional)Remove unnecessary icon types such as 48x48 icons, which current Pocket PCs do not display. To do this:
On the Image menu, point to Current Icon Image Types, and then click the unsupported icon type to select it.
On the Image menu, click Delete Image Type.
Edit the different icon types to look alike.
To add icons in Visual C# or Visual Basic device projects
Open your Visual C# or Visual Basic device project in Visual Studio.
In Solution Explorer, right-click your project and then click Properties.
The Project Designer appears.
In Project Designer, click the Resources tab.
Click the Add Resource drop-down list and then click Add New Icon.
The Add New Resource dialog box appears.
Type a name for the new icon and click Add.
The Icon Editor appears with two types of the new icon.
On the Image menu, click New Image Type and add the missing icon types such as 16x16, 1 bit, 16x16, 8 bit, 32x32, 1 bit, and 32x32, 8 bit.
Edit the different icon types to look alike.
In the Project Designer, click the Application tab.
In the Icon drop-down list, select the icon resource you created.