Page 1 of 1

hide program in taskbar

Posted: Tue May 21, 2013 12:20 pm
by jjs
Hi,
does anyone know how to let the program dissapear to only a icon on your taskbar?
And i mean in the right down corner were also your network icon is etcetera.

edit ' I mean the System Tray'

As it is not a standard module or so within FS, maybe someone knows a Ruby statement?

Thanks a lot !

seems something to with this, its what i found till now:

require 'Win32API'

and

ExtractIcon = Win32API.new('shell32', 'ExtractIcon', 'LPI',
'L')
Shell_NotifyIcon = Win32API.new('shell32', 'Shell_NotifyIconA', 'LP',
'I')

and

Ruby/GtkTrayIcon is a Ruby 1.8 binding for the System Tray Protocol

or
http://rubylearning.com/blog/2010/09/29 ... with-ruby/ But it uses Java too.