VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: GetSystemMenu(²Ëµ¥º¯Êý)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:38:49 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Apr 3 01:27:19 2000) WWW-POST
GetSystemMenu
VBÉùÃ÷
Declare Function GetSystemMenu Lib "user32" Alias "GetSystemMenu" (ByVal hwnd
As Long, ByVal bRevert As Long) As Long
˵Ã÷
È¡µÃÖ¸¶¨´°¿ÚµÄϵͳ²Ëµ¥µÄ¾ä±ú¡£ÔÚvb»·¾³£¬¡°ÏµÍ³²Ëµ¥¡±µÄÕýʽÃû³ÆΪ¡°¿ØÖƲ˵¥¡±£¬
¼´µ¥»÷´°¿Ú×óÉϽǵĿØÖÆ¿òʱ³öÏֵIJ˵¥
·µ»ØÖµ
Long£¬ÈçÖ´Ðгɹ¦£¬·µ»Øϵͳ²Ëµ¥µÄ¾ä±ú£»ÁãÒâζ×ųö´í¡£ÈçbRevertÉèΪTRUE£¬Ò²»á·µ
»ØÁ㣨¼òµ¥µÄ»Ö¸´ÔʼµÄϵͳ²Ëµ¥£©
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd Long£¬´°¿ÚµÄ¾ä±ú
bRevert Long£¬ÈçÉèΪTRUE£¬±íʾ½ÓÊÕÔʼµÄϵͳ²Ëµ¥
×¢½â
ÔÚvbÀïʹÓãºÏµÍ³²Ëµ¥»áÏò´°¿Ú·¢ËÍÒ»ÌõWM_SYSCOMMANDÏûÏ¢£¬¶ø²»ÊÇWM_COMMANDÏûÏ¢
Àý×Ó£º
1-41£¬1-62,
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.265ºÁÃë