VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: CreateBitmapIndirect(λͼ¡¢Í¼±ê)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:35:29 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:42:28 2000) WWW-POST
CreateBitmapIndirect
VBÉùÃ÷
Declare Function CreateBitmapIndirect Lib "gdi32" Alias "CreateBitmapIndirect"
(lpBitmap As BITMAP) As Long
˵Ã÷
´´½¨Ò»·ùÓëÉ豸ÓйØλͼ
·µ»ØÖµ
Long£¬Ö´Ðгɹ¦·µ»Øλͼ¾ä±ú£¬Áã±íʾʧ°Ü
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
lpBitmap BITMAP£¬¶ÔÒ»·ùÂ߼λͼ½øÐÐÃèÊöµÄ½á¹¹¡£Õâ¸ö½á¹¹ÖеÄ×Ö¶ÎÓëCreateBitmap
º¯ÊýµÄ²ÎÊý´óÖ¶ÔÓ¦
×¢½â
ÈçʹÓÃÓÉGetObjectº¯Êý»ñµÃµÄBITMAP½á¹¹£¬×¢ÒâGetObject²»»áÈ¡»ØλͼÊý¾Ý¡ª¡ªÖ»ÓÐλ
ͼµÄ´óСºÍÅäÖÃÐÅÏ¢
Èç¹ûnWidthºÍnHeightΪÁ㣬·µ»ØµÄλͼ¾ÍÊÇÒ»¸ö1¡Á1µÄµ¥É«Î»Í¼¡£Ò²Çë²Î¿¼¶Ô
CreateBitmapº¯ÊýµÄ×¢½â
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.506ºÁÃë