VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: SetGraphicsMode(É豸³¡¾°)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:41:31 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 00:08:10 2000) WWW-POST
SetGraphicsMode
VBÉùÃ÷
Declare Function SetGraphicsMode Lib "gdi32" Alias "SetGraphicsMode" (ByVal
hdc As Long, ByVal iMode As Long) As Long
˵Ã÷
ÔÊÐí»ò½ûÖ¹ÔöǿͼÐÎģʽ£¬ÒÔÌṩijЩ֧³Ö£¨°üÀ¨ÊÀ½çת»»£©
·µ»ØÖµ
Long£¬Ö´Ðгɹ¦ÎªÔÀ´µÄͼÐÎģʽ£¬Ê§°ÜΪ0
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬½«ÎªÆäÉèÖÃģʽµÄÉ豸³¡¾°
iMode Long£¬ÏÂÁÐÖµÖ®Ò»£º
GM_COMPATIBLE£ºÉèÖÃwin16¼æÈÝģʽ
GM_ADVANCED£ºÔÊÐíÔöǿͼÐÎģʽ£¬°üÀ¨ÊÀ½çת»»
×¢½â
Ö»ÓÐWindows NTÖ§³ÖÊÀ½çת»»
ÈôÄúÒѽøÈëÔöǿͼÐÎģʽ²¢ÒÑÉèÖÃÓÐÊÀ½çת»»£¬ÔòÄúÔÚ½«Í¼ÐÎģʽ¸Ä»ØGM_COMPATIBLEÖ®
Ç°£¬±ØÐëÓÃSetWorldTransform»òModifyWorldTransformº¯Êý½«ÊÀ½çת»»¸Ä»ØĬÈϵÄÌØÐÔ
ת»»¡£¹ØÓÚÌØÐÔת»»¸ü¶àµÄÐÅÏ¢²Î¿¼ModifyWorldTransform
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.413ºÁÃë