VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: SaveDC(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:58 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:06:06 2000) WWW-POST
SaveDC
VBÉùÃ÷
Declare Function SaveDC Lib "gdi32" Alias "SaveDC" (ByVal hdc As Long) As
Long
˵Ã÷
½«Ö¸¶¨É豸³¡¾°×´Ì¬±£´æµ½WindowsÉ豸³¡¾°¶ÑÕ»¡£DCµÄÓ³Éäģʽ¡¢´°¿ÚºÍÊÓ¿ÚËõ·Å¡¢¼ô
²ÃÇø¡¢ËùÑ¡¶ÔÏóÁÐ±í¶¼Òª±£´æ¡£±¾º¯Êýͨ³£ÔÚÒª¶ÔÉ豸³¡¾°×÷ÁÙʱ¸Ä¶¯Ê±Ê¹Óã¬DCÊôÐÔ¿É
ÓÃRestoreDCº¯Êý»Ö¸´
·µ»ØÖµ
Long£¬Ò»¸ö´ú±í¸ÃÉ豸³¡¾°µÄÕûÊý£¬¾Ý´Ë¿ÉÓÃRestoreDCº¯Êý»Ö¸´¡£³ö´íÔòΪ0
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬Òª±£´æµÄÉ豸³¡¾°¾ä±ú
×¢½â
É豸³¡¾°±»±£´æµ½ÄÚ²¿¶ÑÕ»£¬ÕâÒâζ×ſɶà´Î±£´æÒ»¸öÉ豸³¡¾°×´Ì¬¡£ÀýÈ磬Äú¿ÉÔÚ½øÈë
ij¸öº¯Êýʱ±£´æÉ豸³¡¾°£¬ÔÚÆäÖÐÍê³ÉijЩapiµ÷Óã¬ÔÙ±£´æÒ»´Î£¬×÷¸ü¶àµÄµ÷Óú󣬻Ö
¸´Ç°Ò»×´Ì¬£¬ÔÙ×÷ÆäËûapiº¯Êýµ÷Óã¬×îºóÍ˳ö¸Ãº¯ÊýÇ°»Ö¸´ÔÓÐÉ豸³¡¾°×´Ì¬¡£¿É±£´æ
µÄÉ豸³¡¾°¸öÊý½öÊÜÏÞÓÚÄÚ´æ´óС
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.096ºÁÃë