VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: PtInRegion(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:26 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:04:42 2000) WWW-POST
PtInRegion
VBÉùÃ÷
Declare Function PtInRegion Lib "gdi32" Alias "PtInRegion" (ByVal hRgn As
Long, ByVal x As Long, ByVal y As Long) As Long
˵Ã÷
È·¶¨µãÊÇ·ñÔÚÖ¸¶¨ÇøÓòÄÚ
·µ»ØÖµ
Long£¬ÈôµãÔÚÇøÓòÄÚΪ·ÇÁãÖµ£¬·ñÔòΪ0
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hRgn Long£¬ÇøÓò¾ä±ú
x Long£¬ÒÔÂß¼×ø±ê±íʾµÄµãµÄX×ø±ê
y Long£¬ÒÔÂß¼×ø±ê±íʾµÄµãµÄY×ø±ê
ÔÚvbÀïʹÓÃ
ÔÚ²âÊÔ¸´ÔÓͼÏóʱ·Ç³£ÓÐÓÃ
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.942ºÁÃë