Jump to content

Popup window with .NET control slow to close, affecting main window


Recommended Posts

I am making an application from which the user can choose to open several non-modal popup windows. The popup windows contain a .NET control. I believe because of this control the window takes a couple of seconds to close. This is not a problem if it happens "in the background", but it does not rather the main window freezes while any popup window is closing. 

 

The popup window VIs are reentrant and are opened using Open VI Reference with option 0x80 and Start Asynchronous Call.

 

I understand .NET control by default runs in the UI thread, but Is there something I can do to have the main window unaffected by the closing of the popup windows?

 

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.