VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: SendNotifyMessage(WindowsÏûÏ¢)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:41:12 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Fri Mar 31 01:25:43 2000)
SendNotifyMessage
VBÉùÃ÷
Declare Function SendNotifyMessage Lib "user32" Alias "SendNotifyMessageA" (
ByVal hwnd As Long, ByVal msg As Long, ByVal wParam As Long, ByVal lParam As
Long) As Long
˵Ã÷
Ïò´°¿Ú·¢ËÍÒ»ÌõÏûÏ¢¡£ÈçÄ¿±ê´°¿ÚλÓÚͬµ÷Ó÷½ÏàͬµÄÏß³ÌÄÚ£¬ÔòÕâ¸öº¯Êý»á±íÏÖΪSe
ndMessageº¯Êý¡£¶øÇÒ³ý·ÇÏûÏ¢µÃµ½´¦Àí£¬·ñÔòº¯Êý²»»á·µ»Ø¡£ÈçÄ¿±ê´°¿Ú´ÓÊôÓÚÒ»¸ö²»
ͬµÄỊ̈߳¬Ôòº¯Êý»áÁ¢¼´·µ»Ø
·µ»ØÖµ
Long£¬TRUE±íʾ³É¹¦£¬FALSE±íʾ³ö´í¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd Long£¬ÓÃÓÚ½ÓÊÕÏûÏ¢µÄÒ»¸ö´°¿ÚµÄ¾ä±ú
msg Long£¬ÏûÏ¢µÄ±êʶ·û
wParam Long£¬¾ßÌåÓÉÏûÏ¢¾ö¶¨
lParam 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.436ºÁÃë