如何恢复窗口 |
尚未結案
|
KFC
一般會員 發表:43 回覆:73 積分:23 註冊:2003-03-27 發送簡訊給我 |
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
You can get the window's state using GetWindowPlacement, e.g.
var WindowPlacement: TWindowPlacement; {hWin is the handle of the Window} begin WindowPlacement.length := SizeOf(WindowPlacement); if GetWindowPlacement(hWin,@WindowPlacement) then begin case WindowPlacement.showCmd of SW_HIDE: ShowWindow(hWin,SW_SHOW); SW_SHOWMAXIMIZED: ; else ShowWindow(hWin,SW_RESTORE); end; end; end; |
KFC
一般會員 發表:43 回覆:73 積分:23 註冊:2003-03-27 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |