Commit Graph

40 Commits

Author SHA1 Message Date
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
4179f9f4ec FIX Interop using Unicode in order to support for long strings / asian languages. (NTFY-11)
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@182 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-17 14:54:06 +00:00
Philipp Sumi
6d505b1580 CHG Added missing designer attributes to some properties. Reformatted code.
(NTFY-21)

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@181 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-17 14:17:40 +00:00
Philipp Sumi
c261d99378 Reformatted XAML.
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@180 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-17 13:07:50 +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
d2abe5238b Improved inline documentation.
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@178 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-16 21:05:20 +00:00
Philipp Sumi
62dc577295 Added binding sample to code comments (NTFY-18)
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@177 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-16 20:58:58 +00:00
Philipp Sumi
e7904ade52 CHG The attached TaskBarIcon DP is derived now, so binding doesn't have to go through the parent element anymore (NTFY-18).
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@176 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-16 20:56:12 +00:00
Philipp Sumi
24bbec3a45 CHG The attached TaskBarIcon DP is derived now, so binding doesn't have to go through the parent element anymore (NTFY-18).
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@175 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-16 20:55:36 +00:00
Philipp Sumi
f534bbc773 CHG NotifyIcon is not only removed on user-initiated disposal, but also garbage collection (NTFY-5).
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@174 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-16 19:55:51 +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
cad08add0c FIX Supporting x64 for .NET and above (NTFY-1)
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@171 9f600761-6f11-4665-b6dc-0185e9171623
2013-11-16 19:31:26 +00:00
Philipp Sumi
70b696aaff git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@170 9f600761-6f11-4665-b6dc-0185e9171623 2013-11-16 17:50:03 +00:00
Philipp Sumi
b6a4590114 WPF NotifyIcon
--------------
CHG   Removed version number in label of showcase window (not needed, required update with every release).

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@141 9f600761-6f11-4665-b6dc-0185e9171623
2010-01-19 13:46:20 +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
fecf609947 Utils
-----
ADD   Some minor additions.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@113 9f600761-6f11-4665-b6dc-0185e9171623
2009-07-10 08:20:15 +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
d6fe6cbf76 WPF NotifyIcon 1.0.2
--------------------
FIX   DataContext was not properly updated on ContextMenus (and probably ToolTips, Popups, and Balloons) if the DC was previously null.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@110 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-18 17:37:34 +00:00
Philipp Sumi
aa4e7d00b3 WPF NotifyIcon
--------------
CHG   Changes in sample project.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@107 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-16 20:33:45 +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
af046cf7bf WPF NotifyIcon
--------------
REM   Deleting image file that needs to be renamed with different casing.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@103 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-15 09:49:01 +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
f349d3d339 WPF NotifyIcon
--------------
CHG   Generally improved sample project - added more bindings, welcome balloon, changed layout.
CHG   Changed namespace in sample project. Preparing tutorials.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@101 9f600761-6f11-4665-b6dc-0185e9171623
2009-05-13 09:32:55 +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
229042b075 WPF NotifyIcon
--------------
CHG   Merged partial classes of WindowMessageSink.cs into a single file.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@54 9f600761-6f11-4665-b6dc-0185e9171623
2009-03-30 23:04:09 +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