Good morning,
I'm working on an ActiveX class that manipulates some MFC dialogs and other useful things. I was wondering if anyone has been successful creating windows that have the sequence editor as a parent.
I tried calling the following code with the ActiveX Adapter, and I pass it a copy of Engine.AppMainHwnd:
long CCmdTargetTSDebugWindow::ShowDebugWindow(long parent)
{
// TODO: Add your dispatch handler code here
dialog = new CDialogTSDebugWindow();
dialog->Create(IDD_DIALOG_TSDEBUGWINDOW, CWnd::FromHandle((HWND)parent));
dialog->ShowWindow(SW_SHOW);
return 0;
}
This works for about 20 seconds then TestStand crashes. If anyone knows of a legal way to create a child window, please let
me know!
Thanks,
Chris Norris
Carrier Access Corporation
cnorris@carrieraccess.com
303.218.5826