請問如何偵測螢幕的解析度 |
尚未結案
|
AJCooer
初階會員 發表:48 回覆:52 積分:25 註冊:2004-02-12 發送簡訊給我 |
|
李國維
高階會員 發表:42 回覆:287 積分:235 註冊:2003-02-07 發送簡訊給我 |
|
pwipwi
版主 發表:68 回覆:629 積分:349 註冊:2004-04-08 發送簡訊給我 |
提供另一個取得方法: 範例來自bcb的help
The following code determines the height of all forms on the screen and resizes any that are taller than the screen height. for (int i = 0; i < Screen->FormCount; i ) { if (Screen->Forms[i]->Height > Screen->Height) Forms[i]->Height = Screen->Height; if (Screen->Forms[i]->Width > Screen->Width) Forms[i]->Width = Screen->Width; } |
blk5743
高階會員 發表:34 回覆:371 積分:236 註冊:2003-11-17 發送簡訊給我 |
|
AJCooer
初階會員 發表:48 回覆:52 積分:25 註冊:2004-02-12 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |