12-14-2007 12:47 PM
12-14-2007 01:19 PM
12-14-2007 01:41 PM
I changed the code as follows, but it didn't make any difference. The panel was not modal.
12-17-2007 10:34 AM - edited 12-17-2007 10:36 AM
Looks like I was too quick and simple with my answer - sorry about that.
I suspect that you are running into thread-related issues, beacuse (IIRC) a modal dialog box is only "modal" within the thread it is called. (This NI page may be helpful)
I'm not at all familiar with Test Stand and how/if threading may feature in your question.
Can any more knowledgeable people out there help?
12-17-2007 06:57 PM
12-18-2007 12:47 AM
12-18-2007 12:53 AM
12-18-2007 01:00 AM
Hi,
Quick look at the examples provided on the website, most are TestStand 1.0.1. (suggest to NI that we needs some updated examples)
Here is related link
http://digital.ni.com/public.nsf/websearch/46B86421820CE1BA86256D8300565424?OpenDocument
Regards
Ray Farmer
12-18-2007 11:10 AM
Thanks for the responses from everyone. I think I should have clearified my question. I'd like to load a CVI panel from a DLL as an modal dialog with another application. For my systems, the application can be TestStand or a executable written in MSVC, Borland, ... .
I looked at the example Ian attached. It popped a modal help dialog by calling LoadPanel with the parent handle. If my parent application is TestStand or other applications written in MSVC. What the parentHandle parameter for LoadPanel should be?
Thanks
Eric
12-20-2007 05:14 PM