LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Systray and icon in the taskbar

(CVI 7.1, Windows XP)

Hi,

There is the possibility to put an icone in the systray (InstallSysTrayIcon)
But is there a possibility to Hide any icon (of my application) present in the taskbar, in order to leave only the one in the systray ?
 
Thanks.
0 Kudos
Message 1 of 2
(2,995 Views)
Nico,
 
Yes, there is a way to do this.  In your callback where you install the systray icon, you can put in
 
SetSystemAttribute (ATTR_TASKBAR_BUTTON_VISIBLE, 0);
 
This will do the trick for you.  Once you have maximized your app again you can use
 
SetSystemAttribute (ATTR_TASKBAR_BUTTON_VISIBLE, 1);
 
to make it apprear back in the taskbar when it's not minimized.
Message 2 of 2
(2,985 Views)