Commit Graph

6 Commits

Author SHA1 Message Date
Robin Krom
4fc0a4960e Removing some of the "magic numbers" (#10)
* Modified the WindowMessageSink to use an enum where possible.

* I managed to find more of the windows messages, and it was worth it. I expect that there is a bug, while currently two events aren't handled: WM_CONTEXTMENU & NIN_SELECT. Why can be read here: https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shell_notifyiconw. Also added NIN_KEYSELECT
* A small stability fix, although it most likely wouldn't happen that the MouseEventReceived isn't assigned it's done so in a different location and might hit us somewhere in the future. I also removed unneeded assignments.
2019-07-19 14:05:13 +02:00
Robin Krom
23186feefe Code modernising (#8)
* Applied some code conventions, used more current language features which should improve readability and making it easier to re-factor / modify. Also fixed some typos in documentation.
* Changes based on PR conversation for the SystemInfo
* Some modifications due to conversations on the PR, especially I removed the FlagsAttribute on the BalloonFlags.
* Removed Silverlight targeting in code.
2019-07-16 14:09:59 +02:00
Philipp Sumi
02fb2b6108 FIX Delayed message sink listener causing interop issues. 2016-04-02 08:59:45 +02:00
Philipp Sumi
0426aa87d2 FIX Fixed potential event propagation before event listeners where registered. 2016-04-01 19:18:08 +02:00
Philipp Sumi
eac1c5d885 ADD Git attributes.
CHG   End of line conversion.
2013-11-25 17:33:40 +01:00
Philipp Sumi
6b07fab725 CHG Moved files to new root folder. 2013-11-25 15:43:33 +01:00