开发者

Ruby Shoes: Minimize app to system tray on windows

开发者 https://www.devze.com 2023-01-14 20:33 出处:网络
Does anyone know if it is possible (and if it is, how?) to put a Sho开发者_运维知识库es application in MS Windows system tray?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消