VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: CreateEllipticRgn(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:35:36 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sun Apr 2 23:51:22 2000) WWW-POST
CreateEllipticRgn
VBÉùÃ÷
Declare Function CreateEllipticRgn Lib "gdi32" Alias "CreateEllipticRgn"
(ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As
Long
˵Ã÷
´´½¨Ò»¸öÍÖÔ²£¬¸ÃÍÖÔ²ÓëX1£¬Y1ºÍX2£¬Y2×ø±êµãÈ·¶¨µÄ¾ØÐÎÄÚÇÐ
·µ»ØÖµ
Long£¬Ö´Ðгɹ¦ÔòΪÇøÓò¾ä±ú£¬Ê§°ÜÔòΪÁã
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
X1,Y1 Long£¬¾ØÐÎ×óÉϽÇX£¬Y×ø±ê
X2,Y2 Long£¬¾ØÐÎÓÒϽÇX£¬Y×ø±ê
×¢½â
²»ÓÃʱһ¶¨ÒªÓÃDeleteObjectº¯Êýɾ³ýÇøÓò¡£ÓÃEllipse APIº¯Êý»æ³öµÄÍÖÔ²Óë¸ÃÍÖÔ²Çø
Óò²»ÍêÈ«Ïàͬ£¬ÒòΪ±¾º¯ÊýµÄ»æͼ¼ÆËã²»°üÀ¨¾ØÐεÄϱߺÍÓÒ±ß
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.114ºÁÃë