Statistics
| Branch: | Revision:

root / trunk / NotifyIconWpf / Interop / NotifyCommand.cs @ 9bae55d1

History | View | Annotate | Download (1.2 kB)

1

    
2

    
3
namespace Hardcodet.Wpf.TaskbarNotification.Interop
4
{
5
  /// <summary>
6
  /// Main operations performed on the
7
  /// <see cref="WinApi.Shell_NotifyIcon"/> function.
8
  /// </summary>
9
  public enum NotifyCommand
10
  {
11
    /// <summary>
12
    /// The taskbar icon is being created.
13
    /// </summary>
14
    Add = 0x00,
15
    /// <summary>
16
    /// The settings of the taskbar icon are being updated.
17
    /// </summary>
18
    Modify = 0x01,
19
    /// <summary>
20
    /// The taskbar icon is deleted.
21
    /// </summary>
22
    Delete = 0x02,
23
    /// <summary>
24
    /// Focus is returned to the taskbar icon. Currently not in use.
25
    /// </summary>
26
    SetFocus = 0x03,
27
    /// <summary>
28
    /// Shell32.dll version 5.0 and later only. Instructs the taskbar
29
    /// to behave according to the version number specified in the 
30
    /// uVersion member of the structure pointed to by lpdata.
31
    /// This message allows you to specify whether you want the version
32
    /// 5.0 behavior found on Microsoft Windows 2000 systems, or the
33
    /// behavior found on earlier Shell versions. The default value for
34
    /// uVersion is zero, indicating that the original Windows 95 notify
35
    /// icon behavior should be used.
36
    /// </summary>
37
    SetVersion = 0x04
38
  }
39
}