VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: PostThreadMessage(WindowsÏûÏ¢)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:22 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Fri Mar 31 01:22:13 2000)
PostThreadMessage
VBÉùÃ÷
Declare Function PostThreadMessage Lib "user32" Alias "PostThreadMessageA" (
ByVal idThread As Long, ByVal msg As Long, ByVal wParam As Long, ByVal lPara
m As Long) As Long
˵Ã÷
½«Ò»ÌõÏûϢͶµÝ¸øÓ¦ÓóÌÐò¡£ÕâÌõÏûÏ¢ÓÉÓ¦ÓóÌÐòµÄÄÚ²¿GetMessageÑ»·»ñµÃ£¬µ«²»»á
´«¸øÒ»¸öÌض¨µÄ´°¿Ú
·µ»ØÖµ
Long£¬ÈçÏûϢͶµÝ³É¹¦£¬Ôò·µ»ØTRUE£¨·ÇÁ㣩¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
idThread Long£¬ÓÃÓÚ½ÓÊÕÏûÏ¢µÄÄǸöÏ̵߳ıêʶ·û
msg Long£¬ÏûÏ¢±êʶ·û
wParam Long£¬¾ßÌåÓÉÏûÏ¢¾ö¶¨
ByVal Long£¬¾ßÌåÓÉÏûÏ¢¾ö¶¨
--
²»Ð´ÁË£¬Ã»Ê²Ã´¿É˵µÄÁË.....
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: blo0m.bbs@smth.org]
--
¡ù תÔØ:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: 202.118.247.254]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.818ºÁÃë