试一下
hwndOK=findwindowex(hwnd,0,"CButton","确定")
PostMessage(hwnd,WM_LBUTTONDOWN,0,0);
PostMessage(hwnd,WM_LBUTTONUP,0,0)