} /* SetParent will set he CVI window as the parent of the imaq window. */ SetParent( (HWND) ImaqHandle, (HWND)windHandle); //改变某个子窗口的父窗口 MappAllocDefault(M_SETUP, &MilApplication, &MilSystem, M_NULL, &MilDigitizer, &MilImage); RunUserInterface (); DiscardPanel (panelHandle); return 0;