Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

INFO: Adding/Removing icons for use with ShellNotifyIcon

 
Subscribe to the RSS feed for this forum  Forum Index -> ShellObjects.Net/WPF
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Tue Sep 06, 2005 5:40 am    Post subject: INFO: Adding/Removing icons for use with ShellNotifyIcon

ShellNotifyIcon can display a single icon in the system tray area or an animation made up of a series of icons. When the Animate property is True, the images in the list are used for the animation. When the Animate property is False, the image specified by the ImageIndex property is displayed in the tray notification area. The properties window of Visual Studio.Net also displays this image beside the ImageIndex property.

To add/remove icons, right-click on the ShellNotifyIcon component at design-time and click on the "Add/Remove Icons..." menu item. A new dialog is displayed which can be used to add/remove icons. This dialog can also be displayed by selecting the ImageList property of ShellNotifyIcon in the Visual Studio.Net properties window and clicking on the small "..." button that is displayed.

The "Add.." button allows you to select and add a bitmap file from the filesystem to the list. The "Add Strip..." button allows you to add multiple images from a bitmap strip. This can be useful when you have a strip containing the images in an animation. You can specify the width of each image in the strip in the textbox below the "Add Strip..." button. Once the images are added, they can be deleted from the filesystem.

You can move the images up or down using the "Move Up" and "Move Down" buttons. To delete images, select the image and click the "Delete Selected" button. To set the transparent color for the images, click the "Transparent Color..." button and select the desired color from the dialog box.
Back to top
Display posts from previous:   
Forum Index -> ShellObjects.Net/WPF All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group