alukindo Posted December 15, 2012 Report Share Posted December 15, 2012 Hi: NI Website has VIs for registering Standard WIndows Messages and capturing them via polling a Message Queue Loop. Messages such as Mouse Move, Mouse Down etc are converted to thier known integer equivalents. Then a windows message queue is pollled to read those messages when broadcast by another application. In my case I need to regsiter 'Custom Messages' and listen or poll them in the same manner in LabVIEW. The challenge is how to derive the message unique integer values. Does anyone have a warpper for this? I am not a C++ programmer by any stretch and can only use LabVIEW. Here is the link to the LabVIEW VIs for windows message registration an polling but only for standard windows messages. http://zone.ni.com/devzone/cda/epd/p/id/4394 Regards Anthony L. Quote Link to comment
alukindo Posted December 15, 2012 Author Report Share Posted December 15, 2012 (edited) OK: I researched further and determined that the user32.dll has the function to assign Message Register integers for listening-to. I have attached a tip doc on how this can be done. Perhaps this will benefit others looking on how to register custom window messages for listening via the Windows Message queue VIs. Anthony L. Edited December 15, 2012 by alukindo Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.