VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: InvalidateRect(¿Ø¼þÓëÏûÏ¢)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:39:27 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Wed Mar 29 23:15:44 2000) WWW-POST
InvalidateRect,InvalidateRectBynum
VBÉùÃ÷
Declare Function InvalidateRect& Lib "user32" (ByVal hwnd As Long, lpRect As
RECT, ByVal bErase As Long)
Declare Function InvalidateRectBynum& Lib "user32" Alias "InvalidateRect"
(ByVal hwnd As Long, ByVal lpRect As Long, ByVal bErase As Long)
˵Ã÷
Õâ¸öº¯ÊýÆÁ±ÎÒ»¸ö´°¿Ú¿Í»§ÇøµÄÈ«²¿»ò²¿·ÖÇøÓò¡£Õâ»áµ¼Ö´°¿ÚÔÚʼþÆڼ䲿·ÖÖØ»
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd Long£¬´ýÆÁ±Î´°¿ÚµÄ¾ä±ú
lpRect RECT£¬ÓÃÓÚÃèÊö´ýÆÁ±Î¾ØÐβ¿·ÖµÄÒ»¸ö¾ØÐνṹ¡£¿ÉÓÃInvalidateRectBynumº¯Êý
£¬Í¬Ê±½«lpRectÉèΪÁ㣨LongÊý¾ÝÀàÐÍ£©£¬´Ó¶øÆÁ±Î£¨»ò½ûÓã©Õû¸ö´°¿Ú
bErase Long£¬TRUE£¨·ÇÁ㣩µ¼ÖÂÖ¸¶¨µÄÇøÓòÔÚÖػǰÏÈɾ³ý
×¢½â
Ò»µ©ÏµÍ³ÓÐЩ¸üÐÂÆÁÄ»µÄÏÐÖÃʱ¼ä¿ÉÓã¬windows¾Í»áÖØ»´°¿Ú
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.170ºÁÃë