VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: ActivateKeyboardLayout(Ó²¼þÓëϵͳ)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:34:51 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Wed Mar 29 23:36:12 2000) WWW-POST
ActivateKeyboardLayout
VBÉùÃ÷
Declare Function ActivateKeyboardLayout Lib "user32" Alias "ActivateKeyboardLa
yout" (ByVal HKL As Long, ByVal flags As Long) As Long
˵Ã÷
¼¤»îÒ»¸öеļüÅ̲¼¾Ö¡£¼üÅ̲¼¾Ö¶¨ÒåÁË°´¼üÔÚÒ»ÖÖÎïÀíÐÔ¼üÅÌÉϵÄλÖÃÓ뺬Òå
·µ»ØÖµ
Long£¬ÈçÖ´Ðгɹ¦£¬·µ»ØÇ°Ò»¸ö¼üÅ̲¼¾ÖµÄ¾ä±ú£»Áã±íʾʧ°Ü¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
HKL Long£¬Ö¸¶¨Ò»¸ö¼üÅ̲¼¾ÖµÄ¾ä±ú¡£Õâ¸ö²¼¾ÖÊÇËæͬLoadKeyboardLayout »ò
GetKeyboardLayoutListº¯ÊýÔØÈëµÄ¡£Ò²¿ÉÓÃHKL_NEXT³£Êý¼¤»îÏÂÒ»¸öÒÑ×°Ôز¼¾Ö£»»òÓÃ
HKL_PREVÔØÈëÇ°Ò»¸ö²¼¾Ö
flags Long£¬½«Ö¸¶¨µÄ¼üÅÌÒÆÖÁÄÚ²¿¼üÅ̲¼¾ÖÁбíµÄÆðʼ´¦
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.413ºÁÃë