VFP 愛用者社區 首頁 VFP 愛用者社區
本討論區為 Visual Foxpro 愛用者經驗交流的地方, 請多多利用"搜尋"的功能, 先查看看有無前例可循, 如果還有不懂的再發問. 部份主題有附加檔案, 須先註冊成為社區居民才可以下載.
 
 常見問題常見問題   搜尋搜尋   會員列表會員列表   會員群組會員群組   會員註冊會員註冊 
 個人資料個人資料   登入檢查您的私人訊息登入檢查您的私人訊息   登入登入

偵測螢幕解析度

 
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區
上一篇主題 :: 下一篇主題  
發表人 內容
Ruey



註冊時間: 2003-03-12
文章: 1698
來自: tunglo

第 1 樓

發表發表於: 星期日 四月 13, 2003 3:12 pm    文章主題: 偵測螢幕解析度 引言回覆

nSreenWidth = SYSMETRIC(1) &&螢幕寬度
nSreenHeight = SYSMETRIC(2) &&螢幕高度

SYSMETRIC(nScreenElement)
---------------------------------------------------------------------------
nScreenElement Screen Element
1 Screen width 螢幕寬度
2 Screen height. 螢幕高度
3 Width of sizable window frame
4 Height of sizable window frame
5 Width of scroll arrows on vertical scroll bar
6 Height of scroll arrows on vertical scroll bar
7 Width of scroll arrows on horizontal scroll bar
8 Height of scroll arrows on horizontal scroll bar
9 Height of window title
10 Width of non-sizable window frame
11 Height of non-sizable window frame
12 Width of DOUBLE or PANEL window frame
13 Height of DOUBLE or PANEL window frame
14 Scroll box width on horizontal scroll bar in text editing windows
15 Scroll box height on vertical scroll bar in text editing windows
16 Minimized window icon width
17 Minimized window icon height
18 Maximum insertion point width
19 Maximum insertion point height
20 Single-line menu bar height
21 Maximized window width
22 Maximized window height
23 Kanji window height
24 Minimum sizable window width
25 Minimum sizable window height
26 Minimum window width
27 Minimum window height
28 Window controls width
29 Window controls height
30 1 if mouse hardware present; otherwise 0
31 1 for Microsoft Windows debugging version; otherwise 0
32 1 if mouse buttons swapped; otherwise 0
33 Width of a button in a half-caption window’s caption or title bar
34 Height of half-caption window caption area
回頂端
檢視會員個人資料 發送私人訊息
從之前的文章開始顯示:   
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區 所有的時間均為 台北時間 (GMT + 8 小時)
1頁(共1頁)

 
前往:  
無法 在這個版面發表文章
無法 在這個版面回覆文章
無法 在這個版面編輯文章
無法 在這個版面刪除文章
無法 在這個版面進行投票
無法 在這個版面附加檔案
無法 在這個版面下載檔案


Powered by phpBB © 2001, 2005 phpBB Group
正體中文語系由 phpbb-tw 維護製作