using System; namespace Hardcodet.Wpf.TaskbarNotification.Interop { /// /// Flags that define the icon that is shown on a balloon /// tooltip. /// public enum BalloonFlags { /// /// No icon is displayed. /// None = 0x00, /// /// An information icon is displayed. /// Info = 0x01, /// /// A warning icon is displayed. /// Warning = 0x02, /// /// An error icon is displayed. /// Error = 0x03, /// /// Windows XP Service Pack 2 (SP2) and later. /// Use a custom icon as the title icon. /// User = 0x04, /// /// Windows XP (Shell32.dll version 6.0) and later. /// Do not play the associated sound. Applies only to balloon ToolTips. /// NoSound = 0x10, /// /// Windows Vista (Shell32.dll version 6.0.6) and later. The large version /// of the icon should be used as the balloon icon. This corresponds to the /// icon with dimensions SM_CXICON x SM_CYICON. If this flag is not set, /// the icon with dimensions XM_CXSMICON x SM_CYSMICON is used.
/// - This flag can be used with all stock icons.
/// - Applications that use older customized icons (NIIF_USER with hIcon) must /// provide a new SM_CXICON x SM_CYICON version in the tray icon (hIcon). These /// icons are scaled down when they are displayed in the System Tray or /// System Control Area (SCA).
/// - New customized icons (NIIF_USER with hBalloonIcon) must supply an /// SM_CXICON x SM_CYICON version in the supplied icon (hBalloonIcon). ///
LargeIcon = 0x20, /// /// Windows 7 and later. /// RespectQuietTime = 0x80 } }