VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: ScreenToClient(¿Ø¼þÓëÏûÏ¢)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:41:02 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Wed Mar 29 23:23:53 2000) WWW-POST
ScreenToClient
VBÉùÃ÷
Declare Function ScreenToClient Lib "user32" Alias "ScreenToClient" (ByVal
hwnd As Long, lpPoint As POINTAPI) As Long
˵Ã÷
ÅжÏÆÁÄ»ÉÏÒ»¸öÖ¸¶¨µãµÄ¿Í»§Çø×ø±ê
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd Long£¬Ò»¸ö´°¿ÚµÄ¾ä±ú£¬¸Ã´°¿Ú¶¨ÒåÁËҪʹÓõĿͻ§Çø×ø±êϵͳ
lpPoint POINTAPI£¬ÆÁÄ»×ø±êϵͳÖаüº¬ÁËÆÁÄ»µãµÄ½á¹¹¡£Õâ¸öº¯Êý»áËæͬÏàÓ¦µÄ¿Í»§Çø
×ø±ê£¨ÓÉhwnd¾ö¶¨£©ÔØÈë½á¹¹
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.532ºÁÃë