VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: GetClassLong£¨¿Ø¼þÓëÏûÏ¢£©(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:37:23 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Wed Mar 29 23:00:36 2000) WWW-POST
GetClassLong
VBÉùÃ÷
Declare Function GetClassLong Lib "user32" Alias "GetClassLongA" (ByVal hwnd
As Long, ByVal nIndex As Long) As Long
˵Ã÷
È¡µÃ´°¿ÚÀàµÄÒ»¸öLong±äÁ¿ÌõÄ¿
·µ»ØÖµ
Long£¬ÓÉnIndex¾ö¶¨¡£Áã±íʾ³ö´í¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd ҪΪÆä»ñµÃÀàÐÅÏ¢µÄ´°¿ÚµÄ¾ä±ú
nIndex ÓûÈ¡µÃµÄÐÅÏ¢£¬¿ÉÄÜÊÇÏÂÊöÈκÎÒ»¸ö³£Êý£º£¨ÕýÊý±íʾһ¸ö×Ö½ÚÆ«ÒÆ£¬ÓÃÓÚÈ¡µÃ
ÔÚ¶îÍâ×Ö½ÚÖÐΪÕâ¸öÀà·ÖÅäµÄÀàÐÅÏ¢£©
GCL_CBCLSEXTRA Õâ¸öÀà½á¹¹ÖзÖÅäµÄ¶îÍâ×Ö½ÚÊý
GCL_CBWNDEXTRA ´°¿Ú½á¹¹ÀïΪÕâ¸öÀàÖÐÿ¸ö´°¿Ú·ÖÅäµÄ¶îÍâ×Ö½ÚÊý
GCL_HBRBACKGROUND Ãè»æÕâ¸öÀàÿ¸ö´°¿ÚµÄ±³¾°Ê±£¬Ê¹ÓõÄĬÈÏË¢×ӵľä±ú
GCL_HCURSOR Ö¸ÏòÕâ¸öÀà´°¿ÚĬÈϹâ±êµÄ¾ä±ú
GCL_HICON Õâ¸öÀàÖд°¿ÚĬÈÏͼ±êµÄ¾ä±ú
GCL_HICONSM Õâ¸öÀàµÄСͼ±ê
GCL_HMODULE Õâ¸öÀàµÄÄ£¿éµÄ¾ä±ú
GCL_MENUNAME ΪÀà²Ëµ¥È¡µÃÃû³Æ»ò×ÊÔ´ID
GCL_STYLE Õâ¸öÀàµÄÑùʽ
GCL_WNDPROC È¡µÃÀà´°¿Úº¯Êý£¨¸ÃÀà´°¿ÚµÄĬÈÏ´°¿Úº¯Êý£©µÄµØÖ·
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.814ºÁÃë