NotifyCommand.cs 1.3 KB

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