VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: SetRectRgn(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:41:44 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:08:57 2000) WWW-POST
SetRectRgn
VBÉùÃ÷
Declare Function SetRectRgn Lib "gdi32" Alias "SetRectRgn" (ByVal hRgn As
Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long)
As Long
˵Ã÷
ÉèÖÃÇøÓòΪX1£¬Y1ºÍX2£¬Y2ÃèÊöµÄ¾ØÐÎ
·µ»ØÖµ
Long£¬Ö´Ðгɹ¦Îª·ÇÁãÖµ£¬Ê§°ÜΪ0
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hRgn Long£¬¸ÃÇøÓò½«±»ÉèÖÃΪָ¶¨¾ØÐÎ
X1,Y1 Long£¬¾ØÐÎ×óÉϽÇX£¬Y×ø±ê
X2,Y2 Long£¬¾ØÐÎÓÒϽÇX£¬Y×ø±ê
×¢½â
±¾º¯ÊýÓëCreateRectRgnÏàͬ£¬Ö»ÊÇËüÊÇÉèÖÃÒ»¸öÒÑ´æÔÚÇøÓò¶ø²»ÊÇ´´½¨Ò»¸öÐÂÇøÓò
¾ØÐεĵ׺ÍÓұ߲»°üÀ¨ÔÚÇøÓòÄÚ
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.198ºÁÃë