Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

dodek

Hello Gurus,

has anyone ever tried to implement a labview panel into a MDI frame of Mirosoft VC++ 6.0

At the moment i am able to do this stuff with a dialog
based application.

If you have some ideas please tell me.
0 Kudos
Message 1 of 2
(2,791 Views)
Hello

Have you already tried setting the LV panel window as a child window using the SetParent function?

So it would be something to the effect of

MainLVEmbedded(); //launch the VI embedded in a dll
hWndVI = FindWindow(0, "test.vi");//Get VI window handle
hWndCVI = FindWindow(0, "CVI Panel");//Get parent window handle
SetParent(hWndVI, hWndCVI); //Set the VI to be the child window

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,791 Views)