Commit Graph

25 Commits

Author SHA1 Message Date
Philipp Sumi
7014294506 CHG Reformatting code (NTFY-20).
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@192 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-18 00:03:09 +00:00
Philipp Sumi
1be7b176a9 FIX Removed debug code (NTFY-3).
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@191 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-17 23:59:10 +00:00
Philipp Sumi
16ef216a4c FIX Activating context menu itself rather than messagesink window, in order for the menu to receive keyboard input (NTFY-3).
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@184 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-17 23:10:18 +00:00
Philipp Sumi
b10992dc25 Reformatting code (NTFY-20)
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@183 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-17 23:03:38 +00:00
Philipp Sumi
008ea6ab2c CHG If a popup is being reused, but still has a parent, throw custom exception with more descriptive error message.
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@179 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-16 21:37:36 +00:00
Philipp Sumi
2076f8fa0b CHG If setting the taskbar doesn't work, the control just retries again (and again) rather than throwing an exception. NTFY-6
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@173 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-16 19:46:49 +00:00
Philipp Sumi
b4ae746d1c CHG If setting the taskbar doesn't work, the control just retries again (and again) rather than throwing an exception.
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@172 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-16 19:42:54 +00:00
Philipp Sumi
b9dc9c4a1b WPF NotifyIcon
--------------
ADD   Added cleanup file for deployment.
CHG   Improved comments to context menu placement - could not remember why I did this in the first place.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@124 9f600761-6f11-4665-b6dc-0185e9171623
2009-10-06 12:37:33 +00:00
Philipp Sumi
2a4cf8de7e WPF NotifyIcon
--------------
FIX   Dispose only deregisters OnExit event listenter if there is actually an
      application (not the case in WinForms environments).
CHG   Added dispose to WinForms sample which closes the NotifyIcon.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@121 9f600761-6f11-4665-b6dc-0185e9171623
2009-09-22 07:48:22 +00:00
Philipp Sumi
ac2eed0a25 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
2009-09-22 06:57:07 +00:00
Philipp Sumi
a4bda48c6c WPF NotifyIcon
--------------
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
2009-09-21 19:20:41 +00:00
Philipp Sumi
f4a1888e80 WPF NotifyIcon
--------------
FIX   Commands did not work with RoutedCommands which require an explicit target.
ADD   Added command target properties for both left and double click commands.
      Allows to explicitly define another control as the target of a routed
      command.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@112 9f600761-6f11-4665-b6dc-0185e9171623
2009-07-02 11:18:13 +00:00
Philipp Sumi
c8c988bb17 WPF NotifyIcon
--------------
CHG   Changed show/hide functionality in order to work better with showcase window (which is no longer the app's main window).

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@105 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-16 12:14:02 +00:00
Philipp Sumi
97ef369a02 WPF NotifyIcon
--------------
FIX   Removed debug output in WindowMessageSink.
CHG   Major rework on sample project.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@104 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-15 09:51:55 +00:00
Philipp Sumi
b91a186b2b WPF NotifyIcon
--------------
CHG   LeftClickCommand now only uses the single click timer in order to delay
      command executation until it's sure that the user does not double-click.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@102 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-13 13:26:00 +00:00
Philipp Sumi
34c589eac4 WPF NotifyIcon
--------------
CHG   DataContext now also set on ContextMenu property. Revamped DataContext handling, which
      now not only checks whether DataContext is not null, but also leaves DataContext of
      controls unchanged, if the DataContext is bound.
CHG   Some documentation changes and cleanup, added class diagram.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@100 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-12 11:24:22 +00:00
Philipp Sumi
98a0017687 WPF NotifyIcon : Public Release
-------------------------------
CHG   Common cleanup, copyright etc.
DEL   Removed unused dependency property change handlers.
ADD   Added ResetBalloonCloseTimer method which keeps custom balloons open.
ADD   Provided implementation for attached BalloonClosingEvent.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@94 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-04 19:36:22 +00:00
Philipp Sumi
2b05ff7bd7 WPF NotifyIcon
--------------
ADD   Added ParentTaskbarIcon attached dependency property which is set for tooltips, popups, and custom balloons.
CHG   Made CloseBalloon public.
CHG   Changed sample, cleaned up commands pattern.


git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@93 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-03 07:10:30 +00:00
Philipp Sumi
d792f1c5a4 WPF NotifyIcon
--------------
CHG   Remove PlacementTarget assignment for popups and others. Did not provide advantages, but hid popups if taskbar owner isn't visible.
ADD   Added double click command declaration.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@83 9f600761-6f11-4665-b6dc-0185e9171623
2009-04-26 17:14:39 +00:00
Philipp Sumi
dc0a2167fe NotifyIcon WPF
--------------
FIX   Removed invalid using statement.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@58 9f600761-6f11-4665-b6dc-0185e9171623
2009-04-01 15:06:01 +00:00
Philipp Sumi
fc7fa38ef5 NotifyIcon WPF
--------------
ADD   Added custom balloon support.
CHG   Refactoring of names - properties and events are prefixed by "Tray" rather than "TaskbarIcon".

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@57 9f600761-6f11-4665-b6dc-0185e9171623
2009-04-01 14:59:44 +00:00
Philipp Sumi
1242596214 NotifyIcon WPF
--------------
CHG   Merged partial classes of TaskbarIcon - no only 2 files.
ADD   Added attached events that indicate an opened popup/tooltip
ADD   Added storyboards in samples that make use of attached events.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@56 9f600761-6f11-4665-b6dc-0185e9171623
2009-04-01 07:34:50 +00:00
Philipp Sumi
354ba1ca43 NotifyWPF
---------
CHG   Lot of plumbing, some fixes
CHG   Work on sample project.
CHG   Popups and ContextMenu now store coordinates - otherwise delayed opending may happen elsewhere.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@55 9f600761-6f11-4665-b6dc-0185e9171623
2009-03-31 22:20:07 +00:00
Philipp Sumi
6cc31cea5b WPF NotifyIcon
--------------
ADD   Completed events.
FIX   Suppressing second left mouse click event in case of a double click.
CHG   General cleanup.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@53 9f600761-6f11-4665-b6dc-0185e9171623
2009-03-30 23:00:01 +00:00
Philipp Sumi
94085b7293 WPF NotifyIcon
--------------
Initial import

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@52 9f600761-6f11-4665-b6dc-0185e9171623
2009-03-30 22:01:35 +00:00