Jump to content

My windows form application on Labview front panel


witny

Recommended Posts

The first method that comes to mind is using Windows DLL calls to set the parent window as the LabVIEW front panel, and the child window as your C# application.  This will work but looks a little ugly because you will have the title bar of your C# program inside your front panel and looks unnatural.  I did a quick search and found this post that I think has some code on setting parent/child windows.  

 

http://forums.ni.com/t5/LabVIEW/Set-Parent-window-using-User32-at-lv7-1/td-p/1950469

 

To do this you'd need the HWND of both the parent and child windows.

 

I'm betting there is a nicer way to do this and I hope someone else answers because admittedly this feels like a hack method.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.