mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-21 01:35:39 -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.
|
||||
(thanks Andrew Smith for pointing me in the right direction!).
|
||||
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
|
||||
{
|
||||
///<summary>
|
||||
/// Supported icons for the tray's ballon messages.
|
||||
/// Supported icons for the tray's balloon messages.
|
||||
///</summary>
|
||||
public enum BalloonIcon
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
||||
/// </summary>
|
||||
State = 0x08,
|
||||
/// <summary>
|
||||
/// The ballon ToolTip is set. Accordingly, the following
|
||||
/// The balloon 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"/>.
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
||||
/// Fired if a balloon ToolTip was either displayed
|
||||
/// or closed (indicated by the boolean flag).
|
||||
/// </summary>
|
||||
public event Action<bool> BallonToolTipChanged;
|
||||
public event Action<bool> BalloonToolTipChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Fired if the taskbar was created or restarted. Requires the taskbar
|
||||
@@ -278,12 +278,12 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
||||
break;
|
||||
|
||||
case 0x402:
|
||||
BallonToolTipChanged(true);
|
||||
BalloonToolTipChanged(true);
|
||||
break;
|
||||
|
||||
case 0x403:
|
||||
case 0x404:
|
||||
BallonToolTipChanged(false);
|
||||
BalloonToolTipChanged(false);
|
||||
break;
|
||||
|
||||
case 0x405:
|
||||
|
||||
@@ -135,7 +135,7 @@ namespace Hardcodet.Wpf.TaskbarNotification
|
||||
messageSink.MouseEventReceived += OnMouseEvent;
|
||||
messageSink.TaskbarCreated += OnTaskbarCreated;
|
||||
messageSink.ChangeToolTipStateRequest += OnToolTipChange;
|
||||
messageSink.BallonToolTipChanged += OnBalloonToolTipChanged;
|
||||
messageSink.BalloonToolTipChanged += OnBalloonToolTipChanged;
|
||||
|
||||
//init single click / balloon timers
|
||||
singleClickTimer = new Timer(DoSingleClickAction);
|
||||
|
||||
Reference in New Issue
Block a user