root / trunk / NotifyIconWpf / Interop / BalloonFlags.cs @ 9bae55d1
History | View | Annotate | Download (1.8 kB)
1 |
namespace Hardcodet.Wpf.TaskbarNotification.Interop |
---|---|
2 |
{ |
3 |
/// <summary> |
4 |
/// Flags that define the icon that is shown on a balloon |
5 |
/// tooltip. |
6 |
/// </summary> |
7 |
public enum BalloonFlags |
8 |
{ |
9 |
/// <summary> |
10 |
/// No icon is displayed. |
11 |
/// </summary> |
12 |
None = 0x00, |
13 |
/// <summary> |
14 |
/// An information icon is displayed. |
15 |
/// </summary> |
16 |
Info = 0x01, |
17 |
/// <summary> |
18 |
/// A warning icon is displayed. |
19 |
/// </summary> |
20 |
Warning = 0x02, |
21 |
/// <summary> |
22 |
/// An error icon is displayed. |
23 |
/// </summary> |
24 |
Error = 0x03, |
25 |
/// <summary> |
26 |
/// Windows XP Service Pack 2 (SP2) and later. |
27 |
/// Use a custom icon as the title icon. |
28 |
/// </summary> |
29 |
User = 0x04, |
30 |
/// <summary> |
31 |
/// Windows XP (Shell32.dll version 6.0) and later. |
32 |
/// Do not play the associated sound. Applies only to balloon ToolTips. |
33 |
/// </summary> |
34 |
NoSound = 0x10, |
35 |
/// <summary> |
36 |
/// Windows Vista (Shell32.dll version 6.0.6) and later. The large version |
37 |
/// of the icon should be used as the balloon icon. This corresponds to the |
38 |
/// icon with dimensions SM_CXICON x SM_CYICON. If this flag is not set, |
39 |
/// the icon with dimensions XM_CXSMICON x SM_CYSMICON is used.<br/> |
40 |
/// - This flag can be used with all stock icons.<br/> |
41 |
/// - Applications that use older customized icons (NIIF_USER with hIcon) must |
42 |
/// provide a new SM_CXICON x SM_CYICON version in the tray icon (hIcon). These |
43 |
/// icons are scaled down when they are displayed in the System Tray or |
44 |
/// System Control Area (SCA).<br/> |
45 |
/// - New customized icons (NIIF_USER with hBalloonIcon) must supply an |
46 |
/// SM_CXICON x SM_CYICON version in the supplied icon (hBalloonIcon). |
47 |
/// </summary> |
48 |
LargeIcon = 0x20, |
49 |
/// <summary> |
50 |
/// Windows 7 and later. |
51 |
/// </summary> |
52 |
RespectQuietTime = 0x80 |
53 |
|
54 |
} |
55 |
} |