LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call MessageBox() in LV

Hello,

I want to use Windows API "messageBox()" instead of LV's dialog box by calling the DLL, but how to specify the first parameter of the function :HWND ? How to set the ICON's parameter ?

David
0 Kudos
Message 1 of 5
(2,930 Views)

What version of LV do you use?

I could post you a llb where I call this function for LV7.0.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 5
(2,925 Views)
Why don't you try this?
 
Also, note that at the top of the page you can see the hierarchy of pages where you can find a lot more information on calling DLLs.

___________________
Try to take over the world!
Message 3 of 5
(2,924 Views)
But how to specify the owner window ? I want to make a model dialog .
0 Kudos
Message 4 of 5
(2,906 Views)

Try this...

The second call library node calls "FindWindowA", which is also located in user32.dll.

Hope it helps.

Thomas

Message Edited by becktho on 02-01-2006 07:11 AM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 5
(2,902 Views)