05-14-2017 08:29 AM
when I use the function MessagePopup in a sub thread in my program, I get a modeless window ,but the window with MessagePopup should be modal. Shall Somebody help me to solve this problem. In the accessory, I pack my source code. Thank you in advance! I am very glad to receive your reply.
Solved! Go to Solution.
05-14-2017 09:26 AM
Hello,
take a look to this discussion that offers some concept and solutions.
05-15-2017 10:38 PM
Thank you very much! I have solved my problem through PostDeferredCallToThread.
First, I get the mainthreadID with function FmtGetMainThreadID, and then call the function PostDeferredCallToThread, and I can return where I define my CVICALLBACK function.