mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-02-17 02:51:51 -05:00
WPF NotifyIcon
-------------- FIX Fixed typo (balloon with one "o") in comments and an even in WindowMessageSink.cs. git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@120 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
@@ -12,6 +12,8 @@ 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.
|
This fixes an issue with certain controls being disabled on popups.
|
||||||
(thanks Andrew Smith for pointing me in the right direction!).
|
(thanks Andrew Smith for pointing me in the right direction!).
|
||||||
FIX Changed dispatcher access in order to work in WinForms scenarios, too.
|
FIX Changed dispatcher access in order to work in WinForms scenarios, too.
|
||||||
|
FIX Corrected typo in WindowMessageSink.BalloonToolTipChanged event. Used internally
|
||||||
|
(although event is public), so users should be fine.
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
namespace Hardcodet.Wpf.TaskbarNotification
|
namespace Hardcodet.Wpf.TaskbarNotification
|
||||||
{
|
{
|
||||||
///<summary>
|
///<summary>
|
||||||
/// Supported icons for the tray's ballon messages.
|
/// Supported icons for the tray's balloon messages.
|
||||||
///</summary>
|
///</summary>
|
||||||
public enum BalloonIcon
|
public enum BalloonIcon
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
State = 0x08,
|
State = 0x08,
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The ballon ToolTip is set. Accordingly, the following
|
/// The balloon ToolTip is set. Accordingly, the following
|
||||||
/// members are set: <see cref="NotifyIconData.BalloonText"/>,
|
/// members are set: <see cref="NotifyIconData.BalloonText"/>,
|
||||||
/// <see cref="NotifyIconData.BalloonTitle"/>, <see cref="NotifyIconData.BalloonFlags"/>,
|
/// <see cref="NotifyIconData.BalloonTitle"/>, <see cref="NotifyIconData.BalloonFlags"/>,
|
||||||
/// and <see cref="NotifyIconData.VersionOrTimeout"/>.
|
/// and <see cref="NotifyIconData.VersionOrTimeout"/>.
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
/// Fired if a balloon ToolTip was either displayed
|
/// Fired if a balloon ToolTip was either displayed
|
||||||
/// or closed (indicated by the boolean flag).
|
/// or closed (indicated by the boolean flag).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public event Action<bool> BallonToolTipChanged;
|
public event Action<bool> BalloonToolTipChanged;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Fired if the taskbar was created or restarted. Requires the taskbar
|
/// Fired if the taskbar was created or restarted. Requires the taskbar
|
||||||
@@ -278,12 +278,12 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x402:
|
case 0x402:
|
||||||
BallonToolTipChanged(true);
|
BalloonToolTipChanged(true);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x403:
|
case 0x403:
|
||||||
case 0x404:
|
case 0x404:
|
||||||
BallonToolTipChanged(false);
|
BalloonToolTipChanged(false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x405:
|
case 0x405:
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ namespace Hardcodet.Wpf.TaskbarNotification
|
|||||||
messageSink.MouseEventReceived += OnMouseEvent;
|
messageSink.MouseEventReceived += OnMouseEvent;
|
||||||
messageSink.TaskbarCreated += OnTaskbarCreated;
|
messageSink.TaskbarCreated += OnTaskbarCreated;
|
||||||
messageSink.ChangeToolTipStateRequest += OnToolTipChange;
|
messageSink.ChangeToolTipStateRequest += OnToolTipChange;
|
||||||
messageSink.BallonToolTipChanged += OnBalloonToolTipChanged;
|
messageSink.BalloonToolTipChanged += OnBalloonToolTipChanged;
|
||||||
|
|
||||||
//init single click / balloon timers
|
//init single click / balloon timers
|
||||||
singleClickTimer = new Timer(DoSingleClickAction);
|
singleClickTimer = new Timer(DoSingleClickAction);
|
||||||
|
|||||||
Reference in New Issue
Block a user