VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: GetTextAlign(Îı¾ºÍ×ÖÌå)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:38:54 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sat Apr 8 01:21:22 2000) WWW-POST
GetTextAlign
VBÉùÃ÷
Declare Function GetTextAlign Lib "gdi32" Alias "GetTextAlign" (ByVal hdc As
Long) As Long
˵Ã÷
½ÓÊÕÒ»¸öÉ豸³¡¾°µ±Ç°µÄÎı¾¶ÔÆë±êÖ¾
·µ»ØÖµ
Long£¬µ±Ç°µÄÎı¾¶ÔÆë±êÖ¾¡£GDI_ERROR±íʾʧ°Ü¡£»áÉèÖÃGetLastError¡£Îı¾µÄ¶ÔÆë·½
·¨Óɼ¸¸ö³£ÊýµÄ×éºÏ¾ö¶¨¡£ÆäÖÐÿ¸ö³£Êý¶¼À´×ÔÏÂÊö²»Í¬µÄ×é±ð¡£²Î¿¼ÏÂÃæ×ܽáµÄÎı¾¶Ô
Æë±êÖ¾
ˮƽ¶ÔÆë±êÖ¾ TA_CENTER Îı¾ÔÚÔ¼Êø¾ØÐÎÄÚ¾ÓÖÐÏÔʾ
TA_LEFT Îı¾ÔÚÔ¼Êø¾ØÐÎÄÚ×ó¶ÔÆ루ĬÈÏÉèÖã©
TA_RIGHT Îı¾ÔÚÔ¼Êø¾ØÐÎÄÚÓÒ¶ÔÆë
´¹Ö±¶ÔÆë±êÖ¾ ¶¨ÒåÎı¾Êä³öº¯ÊýµÄY²ÎÊýµÄº¬Òå
TA_BASELINE Y²ÎÊýÖ¸¶¨×ÖÌå»ùÏßµÄλÖÃ
TA_BOTTOM Y²ÎÊýÖ¸¶¨Ô¼Êø¾ØÐεױߵÄλÖÃ
TA_TOP Y²ÎÊýÖ¸¶¨Ô¼Êø¾ØÐζ¥±ßµÄλÖã¨Ä¬ÈÏÉèÖã©
µ±Ç°Î»Öà TA_NOUPDATECP Îı¾Êä³öº¯Êý²»Ê¹ÓÃÉ豸³¡¾°µ±Ç°µÄ»æͼλÖÃ
TA_UPDATECP Îı¾Êä³öº¯ÊýʹÓÃÉ豸³¡¾°µ±Ç°µÄ»æͼλÖá£Íê³É»æͼºó£¬Êä³öº¯Êý»á¶Ôµ±
ǰλÖýøÐиüС£Îı¾Êä³öº¯ÊýµÄXºÍY²ÎÊý»á±»ºöÂÔ¡ª¡ª»æͼ»áÒÔµ±Ç°Î»ÖÃΪÆðµã
ÆäËû TA_RTLREADING Îı¾Êä³ö´ÓÓÒµ½×ó½øÐС£½öÔÚWindows95ÏÂÊÊÓÃÓÚÏ£²®À´ºÍ°¢À²®×Ö
Ìå
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hdc Long£¬É豸³¡¾°µÄ¾ä±ú
×¢½â
²Î¿¼¶ÔSetTextAlignº¯ÊýµÄ˵Ã÷£¬½øÒ»²½Á˽âÎı¾¶ÔÆë±êÖ¾µÄÇé¿ö
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.046ºÁÃë