Thinking about writing some simple background apps that just run and alert me from the notification area on windows/linux (experimenting on my laptop from time to time) and wondering if there's a simple way to pull this off with Nim?
(example: http://i.imgur.com/XPSEY48.png)
After messing around for a bit I've gotten the following to display an .ico icon in the system tray, only problem is I couldn't get the bubble to display.
https://gist.github.com/G4MR/b1767ac54d47939bbf5d
I also had the add the following to the windows.nim file for the NOTIFYICONDATAA* object
uVersion*: WINUINT
dwInfoFlags*: DWORD
szInfo*: array[0..255, char]
szInfoTitle*: array[0..63, char]
You can see the icon at the top left http://i.imgur.com/Gfiwgw6.png, wondering if anyone could give this a stab on windows and get this working. Would be pretty cool. There's only so much that I can puzzle together