VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: SendMessage(WindowsÏûÏ¢)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:41:09 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
e·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Fri Mar 31 01:23:57 2000)
SendMessage, SendMessageBynum, SendMessageByString
VBÉùÃ÷
Declare Function SendMessage& Lib "user32" Alias "SendMessageA" (ByVal hwnd
As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any)
Declare Function SendMessageBynum& Lib "user32" Alias "SendMessageA" (ByVal
hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long
)
Declare Function SendMessageByString& Lib "user32" Alias "SendMessageA" (ByV
al hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As S
tring)
˵Ã÷
µ÷ÓÃÒ»¸ö´°¿ÚµÄ´°¿Úº¯Êý£¬½«Ò»ÌõÏûÏ¢·¢¸øÄǸö´°¿Ú¡£³ý·ÇÏûÏ¢´¦ÀíÍê±Ï£¬·ñÔò¸Ãº¯Êý
²»»á·µ»Ø¡£SendMessageBynum£¬ SendMessageByStringÊǸú¯ÊýµÄ¡°ÀàÐÍ°²È«¡±ÉùÃ÷ÐÎ
ʽ
·µ»ØÖµ
Long£¬ÓɾßÌåµÄÏûÏ¢¾ö¶¨
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd Long£¬Òª½ÓÊÕÏûÏ¢µÄÄǸö´°¿ÚµÄ¾ä±ú
wMsg Long£¬ÏûÏ¢µÄ±êʶ·û
wParam Long£¬¾ßÌåÈ¡¾öÓÚÏûÏ¢
lParam Any£¬¾ßÌåÈ¡¾öÓÚÏûÏ¢
Àý×Ó£º
1-28£¬1-30,
--
²»Ð´ÁË£¬Ã»Ê²Ã´¿É˵µÄÁË.....
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.391ºÁÃë