VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: SelectClipRgn(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:41:08 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:07:12 2000) WWW-POST
SelectClipRgn
VBÉùÃ÷
Declare Function SelectClipRgn Lib "gdi32" Alias "SelectClipRgn" (ByVal hdc
As Long, ByVal hRgn As Long) As Long
˵Ã÷
Ϊָ¶¨É豸³¡¾°Ñ¡Ôñеļô²ÃÇø
·µ»ØÖµ
Long£¬ÏÂÁг£ÊýÖ®Ò»£¬ÒÔÃèÊöµ±Ç°¼ô²ÃÇø£º
COMPLEXREGION£º¸ÃÇøÓòÓл¥ÏཻµþµÄ±ß½ç
SIMPLEREGION£º¸ÃÇøÓò±ß½çûÓл¥Ïཻµþ
NULLREGION£ºÇøÓòΪ¿Õ
ERRORAPI£º·¢ÉúÁË´íÎ󣨱£ÁôÔÓмô²ÃÇø£©
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬½«ÉèÖÃмô²ÃÇøµÄÉ豸³¡¾°
hRgn Long£¬½«ÎªÉ豸³¡¾°ÉèÖüô²ÃÇøµÄ¾ä±ú£¬¸ÃÇøÓòʹÓÃÉ豸×ø±ê
×¢½â
¸Ãº¯Êý¿½±´¼ô²ÃÇø£»ÕâÑùͬһ¼ô²ÃÇø¿ÉÓÃÓÚ¶à¸öÉ豸³¡¾°£¬É¾³ýËü²»»áÓ°Ïìÿ¸öÉ豸³¡¾°
µÄ¼ô²ÃÇø¡£Ä³Ð©´òÓ¡»úÎı¾ºÍͼÐÎÓв»Í¬µÄ×ø±êϵͳ£¬Õâʱ£¬Ó¦Ñ¡Óþ«¶È¸ßµÄ×ø±êϵͳ¡ª
¡ªÀýÈ磬µãÕó´òÓ¡»úÓö¶¶¯Ëã·¨£¬ÆäÎı¾¾«¶È±ÈͼÐξ«¶È¸ß£¬ÔòӦѡÓÃÎı¾×ø±êϵͳ
ÈôʹÓÃWM_PAINTÏûÏ¢µÄ×ÓÀ࣬´¦Àí¸ÃÏûϢʹÄúÓñ¾º¯ÊýÔö¼ÓµÄ¼ô²ÃÇø²»Äܳ¬¹ý´°¿ÚµÄ²»»î
¶¯Çø
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.177ºÁÃë