VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: GetSysColor(Ó²¼þÓëϵͳ)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:38:45 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Wed Mar 29 23:55:38 2000) WWW-POST
GetSysColor
VBÉùÃ÷
Declare Function GetSysColor Lib "user32" Alias "GetSysColor" (ByVal nIndex
As Long) As Long
˵Ã÷
ÅжÏÖ¸¶¨windowsÏÔʾ¶ÔÏóµÄÑÕÉ«
·µ»ØÖµ
Long£¬Ö¸¶¨¶ÔÏóµÄRGBÑÕÉ«
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
nIndex Long£¬Ò»¸ö³£Êý£¬Ö¸³öÌض¨µÄwindowsÏÔʾ¶ÔÏó£¬Èçϱí
Windows¶ÔÏó³£Êý±í
COLOR_ACTIVEBORDER »î¶¯´°¿ÚµÄ±ß¿ò
COLOR_ACTIVECAPTION »î¶¯´°¿ÚµÄ±êÌâ
COLOR_APPWORKSPACE MDI×ÀÃæµÄ±³¾°
COLOR_BACKGROUND windows×ÀÃæ
COLOR_BTNFACE °´Å¥
COLOR_BTNHIGHLIGHT °´Å¥µÄ3D¼ÓÁÁÇø
COLOR_BTNSHADOW °´Å¥µÄ3DÒõÓ°
COLOR_BTNTEXT °´Å¥ÎÄ×Ö
COLOR_CAPTIONTEXT ´°¿Ú±êÌâÖеÄÎÄ×Ö
COLOR_GRAYTEXT »ÒÉ«ÎÄ×Ö£»ÈçʹÓÃÁ˶¶¶¯¼¼ÊõÔòΪÁã
COLOR_HIGHLIGHT Ñ¡¶¨µÄÏîÄ¿±³¾°
COLOR_HIGHLIGHTTEXT Ñ¡¶¨µÄÏîÄ¿ÎÄ×Ö
COLOR_INACTIVEBORDER ²»»î¶¯´°¿ÚµÄ±ß¿ò
COLOR_INACTIVECAPTION ²»»î¶¯´°¿ÚµÄ±êÌâ
COLOR_INACTIVECAPTIONTEXT ²»»î¶¯´°¿ÚµÄÎÄ×Ö
COLOR_MENU ²Ëµ¥
COLOR_MENUTEXT ²Ëµ¥ÕýÎÄ
COLOR_SCROLLBAR ¹ö¶¯Ìõ
COLOR_WINDOW ´°¿Ú±³¾°
COLOR_WINDOWFRAME ´°¿ò
COLOR_WINDOWTEXT ´°¿ÚÕýÎÄ
COLOR_3DDKSHADOW 3DÉîÒõÓ° *
COLOR_3DFACE 3DÒõÓ°»¯¶ÔÏóµÄÕýÃæÑÕÉ« *
COLOR_3DHILIGHT 3D¼ÓÁÁÑÕÉ«£¨win95£©
COLOR_3DLIGHT 3DÒõÓ°»¯¶ÔÏóµÄdzɫ *
COLOR_INFOBK ¹¤¾ßÌáʾµÄ±³¾°É« *
COLOR_INFOTEXT ¹¤¾ßÌáʾµÄÎı¾É« * ¡¡ ¡¡
*£º´ø * ºÅµÄ³£Êýδ»ñ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.506ºÁÃë