Ruby Shoes: Minimize app to system tray on windows
Does anyone know if it is possible (and if it is, how?) to put a Sho开发者_运维知识库es application in MS Windows system tray?
Something like using minimize to put the window to system tray.
done! with green shoes, see sample54.rb
A far as I know you'll have to mess with win32api (function Shell_NotifyIcon in shell32). This discussion might get you started.
You cannot do this with Shoes, currently.
精彩评论