程式碼:
HWND H1;RECT rect;WinExec("bee.exe", SW_HIDE); H1 = FindWindow(NULL, "小蜜蜂");GetWindowRect(hWnd, &rect);MoveWindow( H1, rect.left, rect.top, 800, 600,true ); ShowWindow(H1, SW_SHOW);ShowWindow(hWnd, SW_HIDE);