LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone successfully used the close window dll? and if so how

I have tried to close a window on the desktop called new folder by calling the closewindow dll.
I think I may not be using the correct arguments in the Call Library Function Node to tell windows NT which window to close.

If anyone has used the close window dll could you please tell me how you have setup your Call Library Function Node.
0 Kudos
Message 1 of 3
(3,275 Views)
I'm not sure what do you mean by closewindow dll.
If you try to call Window API function CloseWindow in User32.dll, you'll never be able to close a window. Because the name "CloseWindow" is a little misleading.
This function, CloseWindow, is actually not for close a window, but for minimize a window.

If you haven't try NI's lvwutil.zip, you should give it a try. It has the function you want, and a lot more. You can download it from NI site. It's free.

George Zou
http://gtoolbox.yeah.net
George Zou
Message 2 of 3
(3,275 Views)
The lvwutil32.zip windows management vis are very good.

And from looking at the block diagrams I could see how to configure the call library function node to use the dlls in the user32.dll directory on my NT4 system.

As George says in his answer the close window dll is actually a minimize window dll.
0 Kudos
Message 3 of 3
(3,275 Views)