Hi Mkehret,
In your question, you asked "how to display a NON MODAL DIALOG", is this really what you want to do? If so, you do not need to use the "NotifyStartOfModalDialog" method of the TestStand engine in order to correctly use your dialog. This method is specifically used for making your dialog MODAL to the process' windows that launched it. Basically, when you create an instance of your dialog object you only need to do the following:
TSSeqFileViewerGUIPtr = new TSSeqFileViewerGUI();
And on the call to Create, do this:
TSSeqFileViewerGUIPtr->Create(IDD_DIALOG1,NULL);
Passing NULL for pParentWND causes the main application window to be set as the dialog's parent. Once you have done the above two calls you can call ShowWindow. For more informatio
n on deriving classes from CDialog and using them refer to the Microsoft Developer Network documentation here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cdialog.3a3a.cdialog.asp
Jason F.
Applications Engineer
National Instruments
www.ni.com/ask