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:
Philipp Sumi
2009-09-22 06:57:07 +00:00
parent a4bda48c6c
commit ac2eed0a25
5 changed files with 8 additions and 6 deletions

View File

@@ -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.
----------------------------------------------------------------------------

View File

@@ -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
{

View File

@@ -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"/>.

View File

@@ -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:

View File

@@ -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);