先用SetWindowPos( HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags ),nFlag设为SWP_HIDEWINDOW,当检测到按键时,再用ShowWindow(SW_SHOW).