VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: ReleaseDC(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:52 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:05:36 2000) WWW-POST
ReleaseDC
VBÉùÃ÷
Declare Function ReleaseDC Lib "user32" Alias "ReleaseDC" (ByVal hwnd As
Long, ByVal hdc As Long) As Long
˵Ã÷
ÊÍ·ÅÓɵ÷ÓÃGetDC»òGetWindowDCº¯Êý»ñÈ¡µÄÖ¸¶¨É豸³¡¾°¡£Ëü¶ÔÀà»ò˽ÓÐÉ豸³¡¾°ÎÞЧ£¨
µ«ÕâÑùµÄµ÷Óò»»áÔì³ÉË𺦣©
·µ»ØÖµ
Long£¬Ö´Ðгɹ¦Îª1£¬·ñÔòΪ0
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd Long£¬ÒªÊͷŵÄÉ豸³¡¾°Ïà¹ØµÄ´°¿Ú¾ä±ú
hdc Long£¬ÒªÊͷŵÄÉ豸³¡¾°¾ä±ú
×¢½â
¶ÔÄÇЩÓÃCreateDCÒ»ÀàµÄDC´´½¨º¯ÊýÉú³ÉµÄÉ豸³¡¾°£¬²»ÒªÓñ¾º¯Êý
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º5.168ºÁÃë