mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-14 10:00:10 -05:00
--------------
FIX If a popup is opened, its window handle is now being set as the foreground.
This fixes an issue with certain controls being disabled on popups.
(thanks Andrew Smith for pointing me in the right direction!).
FIX Changed dispatcher access in order to work in WinForms scenarios, too.
ADD Added WinForms sample.
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@118 9f600761-6f11-4665-b6dc-0185e9171623
25 lines
721 B
C#
25 lines
721 B
C#
namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|
{
|
|
/// <summary>
|
|
/// The notify icon version that is used. The higher
|
|
/// the version, the more capabilities are available.
|
|
/// </summary>
|
|
public enum NotifyIconVersion
|
|
{
|
|
/// <summary>
|
|
/// Default behavior (legacy Win95). Expects
|
|
/// a <see cref="NotifyIconData"/> size of 488.
|
|
/// </summary>
|
|
Win95 = 0x0,
|
|
/// <summary>
|
|
/// Behavior representing Win2000 an higher. Expects
|
|
/// a <see cref="NotifyIconData"/> size of 504.
|
|
/// </summary>
|
|
Win2000 = 0x3,
|
|
/// <summary>
|
|
/// Extended tooltip support, which is available
|
|
/// for Vista and later.
|
|
/// </summary>
|
|
Vista = 0x4
|
|
}
|
|
} |