VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: SetWindowRgn(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:41:57 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:09:48 2000) WWW-POST
SetWindowRgn
VBÉùÃ÷
Declare Function SetWindowRgn Lib "user32" Alias "SetWindowRgn" (ByVal hWnd
As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
˵Ã÷
ÕâÊÇÄÇЩºÜÄÑÓÐÈË×¢Òâµ½µÄ¶Ô±à³ÌÕßÀ´ËµÊǸö¾Þ´óµÄ±¦²ØµÄÒþº¬µÄAPIº¯ÊýÖеÄÒ»¸ö¡£±¾
º¯ÊýÔÊÐíÄú¸Ä±ä´°¿ÚµÄÇøÓò¡£
ͨ³£ËùÓд°¿Ú¶¼ÊǾØÐεġª¡ª´°¿ÚÒ»µ©´æÔھͺ¬ÓÐÒ»¸ö¾ØÐÎÇøÓò¡£±¾º¯ÊýÔÊÐíÄú·ÅÆú¸ÃÇø
Óò¡£ÕâÒâζ×ÅÄú¿ÉÒÔ´´½¨Ô²µÄ¡¢ÐÇÐεĴ°¿Ú£¬Ò²¿ÉÒÔ½«Ëü·ÖΪÁ½¸ö»òÐí¶à²¿·Ö¡ª¡ªÊµ¼ÊÉÏ
¿ÉÒÔÊÇÈκÎÐÎ×´
·µ»ØÖµ
Long£¬Ö´Ðгɹ¦Îª·ÇÁãÖµ£¬Ê§°ÜΪ0
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hWnd Long£¬½«ÉèÖÃÆäÇøÓòµÄ´°¿Ú
hRgn Long£¬½«ÉèÖõÄÇøÓòµÄ¾ä±ú£¬Ò»µ©ÉèÖÃÁ˸ÃÇøÓò£¬¾Í²»ÄÜʹÓûòÐ޸ĸÃÇøÓò¾ä±ú£¬
Ò²²»ÒªÉ¾³ýËü
bRedraw Boolean£¬ÈôΪTRUE£¬ÔòÁ¢¼´ÖØ»´°¿Ú
×¢½â
ΪÇøÓòÖ¸¶¨µÄËùÓÐ×ø±ê¶¼ÒÔ´°¿Ú×ø±ê£¨²»ÊÇ¿Í»§×ø±ê£©±íʾ£¬ËüÃÇÒÔÕû¸ö´°¿Ú£¨°üÀ¨±êÌâ
À¸ºÍ±ß¿ò£©µÄ×óÉϽÇΪÆðµã
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º4.234ºÁÃë