程式代碼:
HWND H1;WinExec("執行檔.exe", SW_HIDE); H1 = FindWindow(NULL, "視窗名稱");SetParent(H1, hWnd);MoveWindow( H1, 0, 0, 800, 600,true ); ShowWindow(H1, SW_SHOW);
執行結果: