VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: GetSystemMetrics(Ó²¼þÓëϵͳ)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:38:50 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Thu Mar 30 00:06:38 2000) WWW-POST
GetSystemMetrics
VBÉùÃ÷
Declare Function GetSystemMetrics Lib "user32" Alias "GetSystemMetrics"
(ByVal nIndex As Long) As Long
˵Ã÷
·µ»ØÓëwindows»·¾³ÓйصÄÐÅÏ¢
·µ»ØÖµ
Long£¬È¡¾öÓÚ¾ßÌåµÄ³£ÊýË÷Òý
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
nIndex Long£¬³£Êý£¬Ö¸¶¨Óû»ñÈ¡µÄÐÅÏ¢£»ÈçϱíËùʾ
nIndex³£ÊýÉèÖÃ
³£Êý¶¨Òå È¡µÃÐÅÏ¢
SM_ARRANGE ÉèÖÃwindowsÈçºÎÅÅÁÐ×îС»¯´°¿ÚµÄÒ»¸ö±êÖ¾¡£²Î¿¼api32.txtÖеÄARW³£Êý
SM_CLEANBOOT Ö¸¶¨Æô¶¯Ä£Ê½¡£0=ÆÕͨģʽ£»1=´øÍøÂçÖ§³ÖµÄ°²È«Ä£Ê½
SM_CMETRICS ¿ÉÓÃϵͳ»·¾³µÄÊýÁ¿
SM_CMOUSEBUTTON Êó±ê°´Å¥£¨°´¼ü£©µÄÊýÁ¿¡£ÈçûÓÐÊó±ê£¬¾ÍΪÁã
SM_CXBORDER, SM_CYBORDER ³ß´ç²»¿É±ä±ß¿òµÄ´óС
SM_CXCURSOR, SM_CYCURSOR ±ê×¼Ö¸Õë´óС
SM_CXDLGFRAME, SM_CYDLGFRAME ¶Ô»°¿ò±ß¿òµÄ´óС
SM_CXDOUBLECLK, SM_CYDOUBLECLK Ë«»÷ÇøÓòµÄ´óС£¨²Î¿¼×¢½â£©
SM_CXFRAME, SM_CYFRAME ³ß´ç¿É±ä±ß¿òµÄ´óС£¨ÔÚwin95ºÍnt 4.0ÖÐʹÓÃ
SM_C?FIXEDFRAME£©
SM_CXFULLSCREEN, SM_CYFULLSCREEN ×î´ó»¯´°¿Ú¿Í»§ÇøµÄ´óС
SM_CXHSCROLL, SM_CYHSCROLL ˮƽ¹ö¶¯ÌõÉϵļýÍ·´óС
SM_CXHTHUMB, SM_CYHTHUMB ¹ö¶¯¿éÔÚˮƽ¹ö¶¯ÌõÉϵĴóС
SM_CXICON, SM_CYICON ±ê׼ͼ±êµÄ´óС
SM_CXICONSPACING, SM_CYICONSPACING ×ÀÃæͼ±êÖ®¼äµÄ¼ä¸ô¾àÀë¡£ÔÚwin95ºÍnt 4.0ÖÐÊÇ
Ö¸´óͼ±êµÄ¼ä¾à
SM_CXMAXIMIZED, SM_CYMAXIMIZED ×î´ó»¯´°¿ÚµÄĬÈϳߴç
SM_CXMAXTRACK, SM_CYMAXTRACK ¸Ä±ä´°¿Ú´óСʱ£¬×î´óµÄ¹ì¼£¿í¶È
SM_CXMENUCHECK, SM_CYMENUCHECK ²Ëµ¥¸´Ñ¡ºÅλͼµÄ´óС
SM_CXMENUSIZE, SM_CYMENUSIZE ²Ëµ¥À¸Éϵİ´Å¥´óС
SM_CXMIN, SM_CYMIN ´°¿ÚµÄ×îС³ß´ç
SM_CXMINIMIZED, SM_CYMINIMIZED ×îС»¯µÄ´°¿Ú±ØÐëÌî³ä½øÈ¥µÄÒ»¸ö¾ØÐÎСÓÚ»òµÈÓÚ
SM_C?ICONSPACING
SM_CXMINTRACK, SM_CYMINTRACK ´°¿ÚµÄ×îС¹ì¼£¿í¶È
SM_CXSCREEN, SM_CYSCREEN ÆÁÄ»´óС
SM_CXSIZE, SM_CYSIZE ±êÌâÀ¸Î»Í¼µÄ´óС
SM_CXSIZEFRAME, SM_CYSIZEFRAME ¾ßÓÐWS_THICKFRAMEÑùʽµÄ´°¿ÚµÄ´óС
SM_CXSMICON, SM_CYSMICON Сͼ±êµÄ´óС
SM_CXSMSIZE, SM_CYSMSIZE С±êÌâ°´Å¥µÄ´óС
SM_CXVSCROLL, SM_CYVSCROLL ´¹Ö±¹ö¶¯ÌõÖеļýÍ·°´Å¥µÄ´óС
SM_CYCAPTION ´°¿Ú±êÌâµÄ¸ß¶È
SM_CYKANJIWINDOW Kanji´°¿ÚµÄ´óС£¨Height of Kanji window£©
SM_CYMENU ²Ëµ¥¸ß¶È
SM_CYSMCAPTION С±êÌâµÄ¸ß¶È
SM_CYVTHUMB ´¹Ö±¹ö¶¯ÌõÉϹö¶¯¿éµÄ¸ß¶È
SM_DBCSENABLED ÈçÖ§³ÖË«×Ö½ÚÔòΪTRUE
SM_DEBUG ÈçwindowsµÄµ÷ÊÔ°æÕýÔÚÔËÐУ¬ÔòΪTRUE
SM_MENUDROPALIGNMENT È絯³öʽ²Ëµ¥¶ÔÆë²Ëµ¥À¸ÏîÄ¿µÄ×ó²à£¬ÔòΪÁã
SM_MIDEASTENABLED ÔÊÐíÁËÏ£²®À´ºÍ°¢À²®Óï
SM_MOUSEPRESENT Èç°²×°ÁËÊó±êÔòΪTRUE
SM_MOUSEWHEELPRESENT Èç°²×°ÁË´øÂÖÊó±êÔòΪTRUE£»Ö»ÊÊÓÃÓÚnt 4.0
SM_NETWORK Èç°²×°ÁËÍøÂ磬ÔòÉèÖÃλ0¡£ÆäËûλ±£ÁôδÓÃ
SM_PENWINDOWS Èç×°ÔØÁËÖ§³Ö±Ê´°¿ÚµÄDLL£¬Ôò±íʾ±Ê´°¿ÚµÄ¾ä±ú
SM_SECURE Èç°²×°ÁË°²È«£¨±£ÃÜ£©»úÖÆ£¬ÔòΪTRUE
SM_SHOWSOUNDS Ç¿ÖÆÊÓ¾õÌáʾ²¥·ÅÉùÒô
SM_SLOWMACHINE ϵͳËÙ¶ÈÌ«Âý£¬µ«ÈÔÔÚÔËÐÐÖУ¨System is too slow for effective
use but is being run anyway£©
SM_SWAPBUTTON Èç×óÓÒÊó±ê¼üÒѾ½»»»£¬ÔòΪTRUE
×¢½â
Ë«»÷ÇøÓòÖ¸¶¨ÆÁÄ»ÉÏÒ»¸öÌض¨µÄÏÔʾÇøÓò£¬Ö»ÓÐÔÚÕâ¸öÇøÓòÄÚÁ¬Ðø½øÐÐÁ½´ÎÊó±êµ¥»÷£¬²Å
ÓпÉÄܱ»µ±×÷Ë«»÷ʼþ´¦Àí
ÆäËû
³£Êý SM_ARRANGE, SM_CLEANBOOT, SM_CMETRICS, SM_C?MAXIMIZED, SM_C?MAXTRACK,
SM_C?SIZEFRAME, SM_C?SMICON, SM_C?SMSIZE, SM_CYSMCAPTION, SM_SECURE,
SM_SHOWSOUNDS, and SM_SLOWMACHINE δ»ñ NT 3.51 ¼°¸üÔç°æ±¾µÄÖ§³Ö
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: casi.bbs@smth.org]
--
¡ù תÔØ:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: 202.118.247.254]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.640ºÁÃë