ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Child Windows

Hello,
I need to use real child windows with LabVIEW. I make an example program using the function SetParent in the USER32.DLL.
It works quite well but it's not perfect.
When I move a child window using the title bar I have an offset on the cursor coordinate. This offset depends on the parent window position and I'm not able to solve this problem.
Thanks.
0 Kudos
Message 1 of 3
(3,748 Views)
Try the following vi's in the attached zip file. I got it from this forum when the parent / child window topic was being discussed for a couple of weeks. Seems to be the best 'True' method that came out of the discussion.

Jared
0 Kudos
Message 2 of 3
(3,748 Views)
Thank you Jared,
The example that you send me it's exactly the same I post to the newsgroup 1
or 2 month ago.
I'm very happy and surprise because under LabView 6i it works perfectly. I
have the same problem under 5.1.1 but now I think that It depends on the way
LabVIEW 5.1.1 manage window.

Golzio
0 Kudos
Message 3 of 3
(3,748 Views)