VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: GetClientRect£¨¿Ø¼þÓëÏûÏ¢£©(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:37:25 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Wed Mar 29 23:03:19 2000) WWW-POST
GetClientRect
VBÉùÃ÷
Declare Function GetClientRect Lib "user32" Alias "GetClientRect" (ByVal hwnd
As Long, lpRect As RECT) As Long
˵Ã÷
·µ»ØÖ¸¶¨´°¿Ú¿Í»§Çø¾ØÐεĴóС
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd Long£¬Óû¼ÆËã´óСµÄÄ¿±ê´°¿Ú
lpRect RECT£¬Ö¸¶¨Ò»¸ö¾ØÐΣ¬Óÿͻ§ÇøÓòµÄ´óСÔØÈ루ÒÔÏñËØΪµ¥Î»£©
×¢½â
lpRectµÄ×ó²à¼°¶¥²¿ÇøÓò¿Ï¶¨»á±»Õâ¸öº¯ÊýÉèΪÁã
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.253ºÁÃë