LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows Messages in LabView

Hello, has anyone ever tried using
Windows Messages under LabView.
I need to exchange Messages with
another application.

Urgent!!!!
Thanks,
Yuval Yohai
0 Kudos
Message 1 of 2
(3,120 Views)
"Yuval Yohai" wrote:
>
>Hello, has anyone ever tried using
>Windows Messages under LabView.
>I need to exchange Messages with
>another application.
>
>Urgent!!!!

To send a window message to another
application is easy. Just use "Send
Message" (WinAPI). If you don't know
how to use WinAPI, you can use my
"Send Message.vi" (included in G
Toolbox). Download it from my site.

However, if you want to intercept
the message which is sent to LabVIEW,
it's a little bit complicated. Basiclly,
you have to set a hook. There is an
example at NI site, "Window Message
Queue", which does this.


George Zou
http://gtoolbox.topcool.net
http://rtprint.yeah.net
0 Kudos
Message 2 of 2
(3,120 Views)