VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: GetUpdateRect(¿Ø¼þÓëÏûÏ¢)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:39:04 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Wed Mar 29 23:06:29 2000) WWW-POST
GetUpdateRect
VBÉùÃ÷
Declare Function GetUpdateRect Lib "user32" Alias "GetUpdateRect" (ByVal hwnd
As Long, lpRect As RECT, ByVal bErase As Long) As Long
˵Ã÷
»ñµÃÒ»¸ö¾ØÐΣ¬ËüÃèÐðÁËÖ¸¶¨´°¿ÚÖÐÐèÒª¸üеÄÄÇÒ»²¿·Ö£¨ÔÚvbÀïʹÓ㺵½Ò»¸övb´°Ìå»ò
¿Ø¼þÀï·¢ÉúpaintʼþµÄʱºò£¬¸üÐÂÇøÓòÒѱ»Çå³ýÁË¡£ËùÒÔÕâ¸öº¯Êý¶ÔÓÚvbÀ´ËµÊÇûÓÐÒâ
ÒåµÄ¡£È»¶ø£¬¿ÉÓÃÒ»¸ö×ÓÀàÄ£¿éÀ¹½ØÒ»¸ö´°Ìå»ò¿Ø¼þµÄWM_PAINTÏûÏ¢£¬ÔÚvb×ÔÐÐÇå³ý֮ǰ
Á˽â¸üÐÂÇøÓòÔÚÄÄÀ
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd Long£¬ÓûÔÚÆäÖе÷²é¸üÐÂÇøÓòµÄÄǸö´°¿Ú
lpRect RECT£¬Ëæͬ¸üÐÂ×ø±êÔØÈëµÄ¾ØÐÎ
bErase Long£¬ÉèÖÃTRUE£¨·ÇÁ㣩£¬Çå³ý¸üÐÂÇøÓò
×¢½â
Èç´°¿ÚÀàÑùʽӵÓÐCS_OWNDC¼¯£¬ÇÒ´°¿ÚÓ³Éäģʽ²»ÊÇMM_TEXT£¬ÄÇô¸üоØÐλáÓÃÂß¼×ø
±ê±íʾ
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.506ºÁÃë