VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: MapVirtualKeyEx(Ó²¼þÓëϵͳ)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:39:55 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Thu Mar 30 00:17:43 2000) WWW-POST
MapVirtualKeyEx
VBÉùÃ÷
Declare Function MapVirtualKeyEx Lib "user32" Alias "MapVirtualKeyExA" (ByVal
uCode As Long, ByVal uMapType As Long, ByVal dwhkl As Long) As Long
˵Ã÷
¸ù¾ÝÖ¸¶¨µÄÓ³ÉäÀàÐÍ£¬Ö´Ðв»Í¬µÄɨÃèÂëºÍ×Ö·ûת»»
·µ»ØÖµ
Long£¬È¡¾öÓÚuMapType²ÎÊý
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
uCode Long£¬Óûת»»µÄÔ´×Ö·û»ò´úÂë
uMapType Long£¬¿ØÖÆÓ³ÉäÀàÐÍ£¬ÈçÏÂËùʾ
0¡ª¡ª uCodeÊǸöÐéÄâ¼üÂë¡£º¯Êý·µ»ØÏàÓ¦µÄɨÃèÂë
1¡ª¡ª uCodeÊǸöɨÃèÂë¡£º¯Êý·µ»ØÏàÓ¦µÄÐéÄâ¼üÂë
2¡ª¡ª uCodeÊǸöÐéÄâ¼üÂë¡£º¯Êý·µ»ØÏàÓ¦µÄASCIIÖµ£¨Î´¼ÓShift×éºÏ¼ü£©¡£Õë¶ÔËÀ¼ü£¬
¸ßλÉèΪ1¡£Èç¹û³ö´í£¬·µ»ØNULL
dwhkl Long£¬¼üÅ̲¼¾ÖµÄ¾ä±ú
×¢½â
ÀûÓÃÕâ¸öº¯Êý£¬¿ÉÔÚɨÃèÂë¼°¸½¼ÓµÄÐéÄâ¼üÂë¼äת»»¡£ÕâЩÐéÄâ¼üÂë°üÀ¨VK_LSHIFT ºÍ
VK_RSHIFTµÈ¡£ÕâÑùÒ»À´£¬±ã¿ÉΪ±íÃæÉÏÁ½¸öÍêÈ«Ò»ÑùµÄ¼ü£¨Ò²°üÀ¨Ctrl ºÍ Alt£©Çø·Ö×ó
¼üºÍÓÒ¼ü
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.510ºÁÃë