NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Save File dialog from dll is not appearing to the front of TestStand window

Hi all,
 
I am calling a C#.net dll from a step in TestStand sequence. A function is called which pops up a Save File dialog. This Save File dialog is appearing only behind other windows. There is an overload for the showDialog function that takes the owner form as argument. My dll doesnot have a form. I would like to know how can I pass the TestStand form as owner to this Save File dialog object.
 
Thanks in advance
0 Kudos
Message 1 of 3
(3,170 Views)

Biju,

You can build create the implement the IWin32Window interface and get the handle of TestStand window. I have created an example you can check out.

Regards,

Song Du
Systems Software
National Instruments R&D
0 Kudos
Message 2 of 3
(3,151 Views)
Thanks Song Du; it is working fine now.
0 Kudos
Message 3 of 3
(3,135 Views)