VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: Chord(»æͼº¯Êý)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:35:16 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:14:33 2000) WWW-POST
Chord
VBÉùÃ÷
Declare Function Chord Lib "gdi32" Alias "Chord" (ByVal As Long, ByVal X1 As
Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long,
ByVal Y3 As Long, ByVal X4 As Long, ByVal Y4 As Long) As Long
˵Ã÷
Ïó×¢½âÖÐÄÇÑù»Ò»¸öÏÒ¡££¨X1,Y1£©ºÍ£¨X2,Y2£©¶¨ÒåÁËÍÖÔ²µÄÒ»¸ö·¶Î§£¨Ô¼Êø£©¾ØÐΡ£µã
£¨X3,Y3£©ºÍµã£¨X4,Y4£©¶¨ÒåÁËÒ»ÌõÏ߶Ρ£¸ÃÏ߶ÎÓëÍÖÔ²Ö®¼äµÄÇøÓò¾ÍÊÇ¡°ÏÒ¡±
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬Ò»¸öÏÔʾ³¡¾°µÄ¾ä±ú
X1,Y1 Long£¬Ö¸¶¨Î§ÈÆÍÖÔ²µÄÒ»¸ö¾ØÐεÄ×óÉϽÇλÖÃ
X2,Y2 Long£¬Ö¸¶¨Î§ÈÆÍÖÔ²µÄÒ»¸ö¾ØÐεÄÓÒϽÇλÖÃ
X3,Y3 Long£¬Ö¸¶¨ÓëÍÖÔ²ÏཻµÄÒ»ÌõÏßµÄÒ»¸öµã
X4,Y4 Long£¬Ö¸¶¨ÓëÍÖÔ²ÏཻµÄÒ»ÌõÏßµÄÁíÒ»¸öµã
×¢½â
ÔÚwin16ºÍwin95ÖУ¬Ô¼Êø¾ØÐεĿí¶ÈºÍ¸ß¶È±ØÐëÔÚ3¡ª¡ª32766¸öµ¥Î»Ö®¼ä¡£Çë²Î¿¼Arc»ñ
µÃ¸üÏêϸµÄͼÀý
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: casi.bbs@smth.org]
--
¡ù תÔØ:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: 202.118.247.254]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.124ºÁÃë