mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-21 01:35:39 -05:00
WPF NotifyIcon
-------------- Initial import git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@52 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
67
Source/NotifyIconWpf/Interop/IconDataMembers.cs
Normal file
67
Source/NotifyIconWpf/Interop/IconDataMembers.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
|
||||
namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates which members of a <see cref="NotifyIconData"/> structure
|
||||
/// were set, and thus contain valid data or provide additional information
|
||||
/// to the ToolTip as to how it should display.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum IconDataMembers
|
||||
{
|
||||
/// <summary>
|
||||
/// The message ID is set.
|
||||
/// </summary>
|
||||
Message = 0x01,
|
||||
/// <summary>
|
||||
/// The notification icon is set.
|
||||
/// </summary>
|
||||
Icon = 0x02,
|
||||
/// <summary>
|
||||
/// The tooltip is set.
|
||||
/// </summary>
|
||||
Tip = 0x04,
|
||||
/// <summary>
|
||||
/// State information (<see cref="IconState"/>) is set. This
|
||||
/// applies to both <see cref="NotifyIconData.IconState"/> and
|
||||
/// <see cref="NotifyIconData.StateMask"/>.
|
||||
/// </summary>
|
||||
State = 0x08,
|
||||
/// <summary>
|
||||
/// The ballon ToolTip is set. Accordingly, the following
|
||||
/// members are set: <see cref="NotifyIconData.BalloonText"/>,
|
||||
/// <see cref="NotifyIconData.BalloonTitle"/>, <see cref="NotifyIconData.BalloonFlags"/>,
|
||||
/// and <see cref="NotifyIconData.VersionOrTimeout"/>.
|
||||
/// </summary>
|
||||
Info = 0x10,
|
||||
|
||||
/// <summary>
|
||||
/// Internal identifier is set. Reserved, thus commented out.
|
||||
/// </summary>
|
||||
//Guid = 0x20,
|
||||
|
||||
/// <summary>
|
||||
/// Windows Vista (Shell32.dll version 6.0.6) and later. If the ToolTip
|
||||
/// cannot be displayed immediately, discard it.<br/>
|
||||
/// Use this flag for ToolTips that represent real-time information which
|
||||
/// would be meaningless or misleading if displayed at a later time.
|
||||
/// For example, a message that states "Your telephone is ringing."<br/>
|
||||
/// This modifies and must be combined with the <see cref="Info"/> flag.
|
||||
/// </summary>
|
||||
Realtime = 0x40,
|
||||
/// <summary>
|
||||
/// Windows Vista (Shell32.dll version 6.0.6) and later.
|
||||
/// Use the standard ToolTip. Normally, when uVersion is set
|
||||
/// to NOTIFYICON_VERSION_4, the standard ToolTip is replaced
|
||||
/// by the application-drawn pop-up user interface (UI).
|
||||
/// If the application wants to show the standard tooltip
|
||||
/// in that case, regardless of whether the on-hover UI is showing,
|
||||
/// it can specify NIF_SHOWTIP to indicate the standard tooltip
|
||||
/// should still be shown.<br/>
|
||||
/// Note that the NIF_SHOWTIP flag is effective until the next call
|
||||
/// to Shell_NotifyIcon.
|
||||
/// </summary>
|
||||
UseLegacyToolTips = 0x80
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user