1234567891011121314151617181920212223242526272829303132333435363738394041 |
- namespace Hardcodet.Wpf.TaskbarNotification.Interop
- {
- /// <summary>
- /// Main operations performed on the
- /// <see cref="WinApi.Shell_NotifyIcon"/> function.
- /// </summary>
- public enum NotifyCommand
- {
- /// <summary>
- /// The taskbar icon is being created.
- /// </summary>
- Add = 0x00,
- /// <summary>
- /// The settings of the taskbar icon are being updated.
- /// </summary>
- Modify = 0x01,
- /// <summary>
- /// The taskbar icon is deleted.
- /// </summary>
- Delete = 0x02,
- /// <summary>
- /// Focus is returned to the taskbar icon. Currently not in use.
- /// </summary>
- SetFocus = 0x03,
- /// <summary>
- /// Shell32.dll version 5.0 and later only. Instructs the taskbar
- /// to behave according to the version number specified in the
- /// uVersion member of the structure pointed to by lpdata.
- /// This message allows you to specify whether you want the version
- /// 5.0 behavior found on Microsoft Windows 2000 systems, or the
- /// behavior found on earlier Shell versions. The default value for
- /// uVersion is zero, indicating that the original Windows 95 notify
- /// icon behavior should be used.
- /// </summary>
- SetVersion = 0x04
- }
- }
|