Squashed 'NotifyIconWpf/' content from commit f64d48e
git-subtree-dir: NotifyIconWpf git-subtree-split: f64d48ec604eef26e5dc1e7c2d5e1e91b329ffac
This commit is contained in:
41
NotifyIconWpf/Interop/NotifyCommand.cs
Normal file
41
NotifyIconWpf/Interop/NotifyCommand.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user