Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I call Shell_NotifyIcon from Shell32.dll in Labview 6?

I have an application which I want to post temperature and humidity on the taskbar by the time. I have not done any work with dll calls. Has anyone used shell_notifyIcon from Shell32.dll?? If so, would you be willing to share the dll setup??
0 Kudos
Message 1 of 2
(3,350 Views)
Russ,

Hi, I have. However, the call to Shell_NotifyIcon() requires a somewhat complex data structure to be created before the icon can be drawn. That structure holds callback space and other reporting schemes that the function will need to report to when "stuff" happens in the taskbar (e.g. A mouse click on the boundary of the icon).

It's not impossible to write a CIN that will load some icons and you could select (numerically from within LabVIEW) which icon to draw in the bar..but I think (considering the complexity of the data structures involved) you will have to implement this inside a CIN.

Kindest,
Warren
0 Kudos
Message 2 of 2
(3,350 Views)