LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get windows callbacks in LabVIEW

I was wondering how to get windows callbacks messages in LabVIEW. A typical method I am seeing from MSDN in text based programming is to use the RegisterWindowsMessage("<message string>") method that's in user32.dll. I am just playing around with .NET in LabVIEW, and one example is creating a system tray icon. You need to handle the "TaskbarCreated" message, but that is not an event callback of the notifyicon class. Is there some other way I could register an event like this using .net?

0 Kudos
Message 1 of 3
(2,757 Views)

Well, i killed explorer.exe, restarted it, and the system tray icon was still there. Looks like it doesn't need to get the message. I wonder if that's true for other classes as well. Someone correct me if I'm wrong.

0 Kudos
Message 2 of 3
(2,749 Views)

In between reboots and perusal of the LV Detailed help (inside joke) you may give this a look if you haven't already.

 

http://decibel.ni.com/content/docs/DOC-10683

 

Message 3 of 3
(2,742 Views)