VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: BitBlt(λͼ¡¢Í¼±ê)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:35:11 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:41:37 2000) WWW-POST
BitBlt
VBÉùÃ÷
Declare Function BitBlt Lib "gdi32" Alias "BitBlt" (ByVal hDestDC As Long,
ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As
Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal
dwRop As Long) As Long
˵Ã÷
½«Ò»·ùλͼ´ÓÒ»¸öÉ豸³¡¾°¸´ÖƵ½ÁíÒ»¸ö¡£Ô´ºÍÄ¿±êDCÏ໥¼ä±ØÐë¼æÈÝ
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hDestDC Long£¬Ä¿±êÉ豸³¡¾°
x,y Long£¬¶ÔÄ¿±êDCÖÐÄ¿±ê¾ØÐÎ×óÉϽÇλÖýøÐÐÃèÊöµÄÄǸöµã¡£ÓÃÄ¿±êDCµÄÂß¼×ø±ê±íʾ
nWidth,nHeight Long£¬Óû´«ÊäͼÏóµÄ¿í¶ÈºÍ¸ß¶È
hSrcDC Long£¬Ô´É豸³¡¾°¡£Èç¹âÕ¤ÔËËãδָ¶¨Ô´£¬ÔòÓ¦ÉèΪ0
xSrc,ySrc Long£¬¶ÔÔ´DCÖÐÔ´¾ØÐÎ×óÉϽÇλÖýøÐÐÃèÊöµÄÄǸöµã¡£ÓÃÔ´DCµÄÂß¼×ø±ê±íʾ
dwRop Long£¬´«Êä¹ý³ÌÒªÖ´ÐеĹâÕ¤ÔËËã
×¢½â
ÔÚNT»·¾³Ï£¬ÈçÔÚÒ»´ÎÊÀ½ç´«ÊäÖÐÒªÇóÔÚÔ´É豸³¡¾°ÖнøÐмôÇлòÐýת´¦Àí£¬Õâ¸öº¯ÊýµÄ
Ö´Ðлáʧ°Ü
ÈçÄ¿±êºÍÔ´DCµÄÓ³Éä¹ØϵҪÇó¾ØÐÎÖÐÏñËصĴóС±ØÐëÔÚ´«Êä¹ý³ÌÖиı䣬ÄÇôÕâ¸öº¯Êý»á
¸ù¾ÝÐèÒª×Ô¶¯ÉìËõ¡¢Ðýת¡¢ÕÛµþ¡¢»òÇжϣ¬ÒÔ±ãÍê³É×îÖյĴ«Êä¹ý³Ì
Àý×Ó£º
1-35£¬1-55,1-56,1-66
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.221ºÁÃë