02-09-2011 05:37 PM
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?
02-09-2011 06:28 PM
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.
02-09-2011 06:36 PM
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