VB °æ (¾«»ªÇø)

·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê  Ìâ: CreateDIBPatternBrush(»æͼº¯Êý)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:35:34 ÐÇÆÚËÄ), ×ªÐÅ

¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ Ô­ÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS Ë®Ä¾Ç廪վ (Mon Apr  3 00:16:26 2000) WWW-POST

CreateDIBPatternBrush,CreateDIBPatternBrushPt 

VBÉùÃ÷ 
Declare Function CreateDIBPatternBrush& Lib "gdi32" (ByVal hPackedDIB As 
Long, ByVal wUsage As Long)
Declare Function CreateDIBPatternBrushPt& Lib "gdi32" (lpPackedDIB As Any, 
ByVal wUsage As Long) 
˵Ã÷ 
ÓÃÒ»·ùÓëÉ豸Î޹صÄλͼ´´½¨Ò»¸öË¢×Ó£¬ÒÔ±ãÖ¸¶¨Ë¢×ÓÑùʽ£¨Í¼°¸£© 
·µ»ØÖµ 
Long£¬ÈçÖ´Ðгɹ¦£¬·µ»ØÖ¸ÏòË¢×ÓµÄÒ»¸ö¾ä±ú¡£Áã±íʾʧ°Ü 
²ÎÊý±í 
²ÎÊý ÀàÐͼ°ËµÃ÷ 
hPackedDIB,lpPackedDIB Long£¬hPackedDIBÊÇÖ¸ÏòÒ»¸öÄÚ´æ¿éµÄÈ«¾ÖÄÚ´æ¾ä±ú¡£ÄǸöÄÚ
´æ¿é°üº¬ÁËÒ»¸öBITMAPINFO½á¹¹£¬ºóÃæ¸úËæÒ»·ùÓëÉ豸Î޹صÄλͼ¡£lpPackedDIBÊǾßÓÐ
ÏàͬÅäÖõÄÒ»¸öÄÚ´æ¿éµÄµØÖ·¡£ÈçÖ¸¶¨Á˵¥É«DIB£¬DIBÑÕÉ«¾Í»áºöÂÔ£¬¶ø»»ÓÃÎı¾ºÍ±³¾°
ÑÕÉ« 
wUsage Long£¬ÏÂÊö³£ÊýÖ®Ò»£º 
DIB_PAL_COLORS DIBÑÕÉ«±í£¬°üº¬Á˵±Ç°Âß¼­µ÷É«°åµÄË÷Òý 
DIB_RGB_COLORS DIBÑÕÉ«±í£¬°üº¬ÁË32λµÄRGBÉ«Öµ 
×¢½â 
±àÖÆwin32Ó¦ÓóÌÐòµÄʱºò£¬×îºÃʹÓÃCreateDIBPatternBrushPt
 


--

--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.112ºÁÃë