°´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·ҳ£¬°´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ£¬°´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿£¡
¡ª¡ª¡ª¡ªÎ´ÔĶÁÍꣿ¼ÓÈëÊéÇ©ÒѱãÏ´μÌÐøÔĶÁ£¡
ÇÊýÖµÐ͵ģ¬´óÓÚ10000hʱ¾Íµ±×ö×Ö·û´®Ö¸Õë´¦Àí¡£
menu¹Ø¼ü×ÖºóÃæµÄDISCARDABLEÊDz˵¥µÄÄÚ´æÊôÐÔ£¬±íʾ²Ëµ¥ÔÚ²»ÔÙʹÓõÄʱºò¿ÉÒÔÔÝʱ´ÓÄÚ´æÖÐÊÍ·ÅÒÔ½ÚÊ¡Äڴ棬ÕâÊÇÒ»¸ö¿ÉÑ¡ÊôÐÔ¡£²Ëµ¥ÏîµÄ¶¨ÒåÓï¾ä±ØÐë°üº¬ÔÚbeginºÍend¹Ø¼ü×ÖÖ®ÄÚ£¬ÕâÁ½¸ö¹Ø¼ü×ÖÒ²¿ÉÒÔÓû¨À¨ºÅ£û¡¡ºÍ¡¡£ý¡¡´úÌæ¡£
²Ëµ¥ÏîÄ¿µÄ¶¨Òå·½·¨ÓÐ3Àࣺ
¡¡¡¡¡¡¡¡¡¡MENUITEM¡¡²Ëµ¥ÎÄ×Ö£»ÃüÁîID¡¡£§£¬Ñ¡ÏîÁÐ±í£§¡¡¡¡¡¡£¨Ó÷¨1£©
»ò¡¡¡¡¡¡MENUITEM¡¡SEPARATOR¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£¨Ó÷¨2£©
»ò¡¡¡¡¡¡POPUP¡¡²Ëµ¥ÎÄ×Ö¡¡£§£¬Ñ¡ÏîÁÐ±í£§¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£¨Ó÷¨3£©
¡¡¡¡¡¡¡¡¡¡BEGIN
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡item¡definitions
¡¡¡¡¡¡¡¡¡¡¡£¡£¡£
END
ÏÂÃæ·Ö±ð¾ÍÕâ3ÀàÏêϸ˵Ã÷£¬Ó÷¨1¶¨ÒåµÄÊÇÆÕͨ²Ëµ¥Ïͼ5¡£1Öеġ°×ÖÌ塱Óë¡°±³¾°É«¡±µÈ²Ëµ¥ÏÊÇÕâÑù¶¨ÒåµÄ£¬ËüµÄ×é³É²¿·ÖÈçÏ£º
¡ñ¡¡¡¡¡¡²Ëµ¥ÎÄ×Ö¡ª¡ªÏÔʾÔڲ˵¥ÏîÖеÄ×Ö·û´®¡£Èç¹ûÐèÒª×Ö·û´®ÖÐij¸ö×Öĸ´øϺáÏߣ¬ÄÇô¿ÉÒÔÔÚ×ÖĸǰÃæ¼Ó&·ûºÅ£¬Èç¡°×ÖÌ壨F£©¡£¡£¡£¡±¾ÍҪд³É¡°×ÖÌ壨&F£©¡£¡£¡£¡±£¬´øϺáÏßµÄ×Öĸ¿ÉÒÔ±»ÏµÍ³×Ô¶¯µ±×ö¿ì½Ý¼ü£ºÔÚÕâÀµ±²Ëµ¥´ò¿ªµÄʱºò°´ÏÂF¼ü£¬ÄÇô¾ÍÏ൱ÓÚÓÃÊó±êÑ¡ÔñÁË¡°×ÖÌ塱ѡÏî¡£ÔÚͬһ¸öµ¯³ö²Ëµ¥ÖÐҪעÒⲻͬµÄ²Ëµ¥Ïî¿ì½Ý¼üÓ¦¸ÃÓÐËùÇø±ð¡£ÁíÍ⣬Èç¹ûÒª°Ñ¼ÓËÙ¼üµÄÌáʾÐÅÏ¢ÏÔʾÔڲ˵¥ÏîµÄÓұߣ¬Èç¡°×ÖÌ塱²Ëµ¥ÏîÖеġ°Alt£«F¡±×Ö·û£¬¿ÉÒÔÔÚÁ½ÕßÖмä¼Ót£¨±íʾ²åÈëÒ»¸öTab×Ö·û£©£¬Ð´Îª¡°×ÖÌ壨&F£©¡£¡£¡£tAlt£«F¡±£¬ÕâÑùTabºóÃæµÄ×Ö·ûÔÚÏÔʾµÄʱºò»áÓÒ¶ÔÆë¡£
¡ñ¡¡¡¡¡¡ÃüÁîID¡ª¡ªÓÃÀ´·Ö±æ²»Í¬µÄ²Ëµ¥Ïî¡£µ±²Ëµ¥±»Ñ¡ÖеÄʱºò£¬Windows»áÏò´°¿Ú¹ý³Ì·¢ËÍWM_MANDÏûÏ¢£¬ÏûÏ¢µÄ²ÎÊý¾ÍÊÇÕâ¸öÃüÁîID¡£ÓÃÃüÁîID¿ÉÒÔ·Ö±æÓû§¾¿¾¹Ñ¡ÖÐÁËÄĸö²Ëµ¥ÏËùÒÔ²»Í¬µÄ²Ëµ¥ÏîÓ¦¸Ã¶¨Ò岻ͬµÄIDÖµ£¬³ý·ÇÏëÈÃÁ½¸ö²Ëµ¥ÏîµÄ¹¦ÄÜÏàͬ¡£
¡ñ¡¡¡¡¡¡Ñ¡Ï¡ªÓÃÀ´¶¨Òå²Ëµ¥ÏîµÄ¸÷ÖÖÊôÐÔ£¬Ëü¿ÉÒÔÊÇÏÂÁÐÊýÖµ£º
CHECKED¡ª¡ª±íʾ´òÉÏÑ¡¶¨±êÖ¾£¨¶Ô¹³£©¡£
GRAYED¡ª¡ª±íʾ²Ëµ¥ÏîÊǻһ¯µÄ¡£
INACTIVE¡ª¡ª±íʾ²Ëµ¥ÏîÊǽûÓõġ£
MENUBREAK»òMENUBARBREAK¡ª¡ª±íʾ½«Õâ¸ö²Ëµ¥ÏîºÍÒÔºóµÄ²Ëµ¥ÏîÁе½ÐµÄÁÐÖС£
ÏÂÃæ×ö¸öʵÑ飬µ±°ÑÀý×ÓÖеġ°Ïêϸ×ÊÁÏ¡±Ò»¾äµÄ¶¨ÒåÓï¾ä¸ÄΪ£º
menuitem¡¡¡¨Ïêϸ×ÊÁÏ£¨&D£©¡¨£»IDM_DETAIL£¬MENUBARBREAK
ÏÔʾ³öÀ´µÄ²Ëµ¥Èçͼ5¡£2Ëùʾ¡£¡°Ïêϸ×ÊÁÏ¡±ÒÔ¼°ÒÔºóµÄ²Ëµ¥ÏÁíÆðÒ»ÁÐÁË£¡
ͼ5¡£2¡¡¡¡Ê¹ÓÃMENUBARBREAKµÄЧ¹û
Ó÷¨2¶¨ÒåµÄÊDz˵¥ÏîÖ®¼äµÄ·Ö¸ôÏߣ¬ÏÔÈ»£¬·Ö¸ôÏßÊDz»ÐèÒª×Ö·û´®ºÍÑ¡ÏîµÄ¡£
·½·¨3¶¨ÒåµÄÊǵ¯³öʽ²Ëµ¥£¬¶¥²ã²Ëµ¥ÊÇÓɶà¸öµ¯³öʽ×Ӳ˵¥×é³ÉµÄ£¬ËùÒÔÔÚMenu¡£rcÎļþÖУ¬Ö÷²Ëµ¥ÊÇÓÉ¡°Îļþ¡±¡¢¡°²é¿´¡±ºÍ¡°°ïÖú¡±3¸ö˳Ðò¶¨ÒåµÄµ¯³öʽ²Ëµ¥×é³ÉµÄ£¬µ¯³öʽ²Ëµ¥µÄ¶¨ÒåÒ²¿ÉÒÔǶÌ×£¬Èç¡°²é¿´¡±²Ëµ¥Öеġ°¹¤¾ßÀ¸¡±ÓÖÊÇÒ»¸öµ¯³öʽ²Ëµ¥£¬ÔÚǶÌ×µÄʱºòҪעÒâÏñдCµÄÔ´³ÌÐòÒ»Ñù°ÑbeginºÍend£¨»òÕߣû¡¡ºÍ¡¡£ý£©ÕýÈ·µØÅä¶Ô¡£popup²Ëµ¥µÄÑ¡ÏîÁбí¿ÉÒÔÊÇÒÔϵÄÖµ£º
¡ñ¡¡¡¡¡¡GRAYED¡ª¡ª±íʾ²Ëµ¥ÏîÊǻһ¯µÄ¡£
¡ñ¡¡¡¡¡¡INACTIVE¡ª¡ª±íʾ²Ëµ¥ÏîÊǽûÓõġ£
¡ñ¡¡¡¡¡¡HELP¡ª¡ª±íʾ±¾ÏîºÍÒÔºóµÄ²Ëµ¥ÏîÊÇÓÒ¶ÔÆëµÄ£¬Èçͼ5¡£1Öеġ°°ïÖú¡±²Ëµ¥¡£
popup²Ëµ¥ÏîÑ¡ÖеÄʱºò»á×Ô¶¯½«µ¯³öʽ²Ëµ¥µ¯³öÀ´£¬²»ÐèÒªÏò³ÌÐò·¢ËÍÏûÏ¢£¬ËùÒÔÔÚ¶¨ÒåµÄ²ÎÊýÖв»ÐèÒªÃüÁîID¡£
ÓÐЩѡÏîÊÇ¿ÉÒÔͬʱ¶¨ÒåµÄ£¬Èç¹ûÒªÖ¸¶¨³¬¹ýÒ»¸öµÄÑ¡ÏÖмäÒªÓöººÅ¸ô¿ª£¬µ«ÊÇÒ²ÓÐЩССµÄÏÞÖÆ£ºGRAYEDºÍINACTIVE²»ÄÜͬʱʹÓã¬MENUBREAKºÍMENUBARBREAKÒ²ÊDz»ÄÜͬʱʹÓõġ£
¡¡
À´Ô´£ºµç×Ó¹¤Òµ³ö°æÉç¡¡×÷ÕߣºÂÞÔƱò¡¡ÉÏÒ»Ò³¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡»ØÊéÄ¿¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÏÂÒ»Ò³¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
ÉÏÒ»Ò³¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡»ØÊéÄ¿¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÏÂÒ»Ò³¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡
µÚ5Õ¡¡Ê¹ÓÃ×ÊÔ´
5¡£1¡¡²Ëµ¥ºÍ¼ÓËÙ¼ü£¨3£©
¡¡¡¡¡¡¡¡
2¡£¡¡¼ÓËÙ¼üµÄ¶¨Òå
ºÍ²Ëµ¥µÄ¶¨ÒåÏà±È£¬¼ÓËÙ¼üµÄ¶¨ÒåÒª¼òµ¥µÃ¶à£¬¾ßÌåµÄÓï·¨ÈçÏ£º
¼ÓËÙ¼üID¡¡ACCELERATORS
BEGIN
¡¡¡¡¡¡¡¡¼üÃû£»¡¡ÃüÁîID¡¡£§£¬ÀàÐÍ£§¡¡£§£¬Ñ¡Ï
¡¡¡¡¡¡¡¡¡£¡£¡£
END
¼ÓËÙ¼üIDͬÑù¿ÉÒÔÊÇÒ»¸ö×Ö·û´®»òÕßÊÇ1¡«65¡¡535Ö®¼äµÄÊý×Ö£¬Õû¸ö¶¨ÒåÄÚÈÝÒ²ÊÇÓÃbeginºÍend£¨»ò»¨À¨ºÅ£©°üº¬ÆðÀ´£¬ÖмäÊǶà¸ö¼ÓËÙ¼üµÄ¶¨ÒåÏîÄ¿£¬Ã¿¸ö¼üÕ¼¾ÝÒ»ÐУ¬¸÷×ֶεĺ¬ÒåÈçÏÂËùʾ¡£
¡ñ¡¡¡¡¡¡¼üÃû¡ª¡ª±íʾ¼ÓËÙ¼ü¶ÔÓ¦µÄ°´¼ü£¬¿ÉÒÔÓÐ3ÖÖ·½Ê½¶¨Ò壺
¡¨^×Öĸ¡¨£º±íʾCtrl¼ü¼ÓÉÏ×Öĸ¼ü¡£
¡¨×Öĸ¡¨£º±íʾ×Öĸ£¬ÕâʱÀàÐͱØÐëÖ¸Ã÷ÊÇVIRTKEY¡£
ÊýÖµ£º±íʾASCIIÂëΪ¸ÃÊýÖµµÄ×Öĸ£¬ÕâʱÀàÐͱØÐëÖ¸Ã÷ΪASCII¡£
¡ñ¡¡¡¡¡¡ÃüÁîID¡ª¡ª°´Ï¼ÓËÙ¼üºó£¬WindowsÏò³ÌÐò·¢Ë͵ÄÃüÁîID¡£Èç¹ûÏë°Ñ¼ÓËÙ¼üºÍ²Ëµ¥Ïî¹ØÁªÆðÀ´£¬ÕâÀï¾ÍÊÇÒª¹ØÁª²Ëµ¥ÏîµÄÃüÁîID¡£
¡ñ¡¡¡¡¡¡ÀàÐÍ¡ª¡ªÓÃÀ´Ö¸¶¨¼üµÄ¶¨Ò巽ʽ£¬¿ÉÒÔÊÇVIRTKEYºÍASCII£¬·Ö±ðÓÃÀ´±íʾ¡°¼üÃû¡±×ֶζ¨ÒåµÄÊÇÐéÄâ¼ü»¹ÊÇASCIIÂë¡£
¡ñ¡¡¡¡¡¡Ñ¡Ï¡ª¿ÉÒÔÊÇAlt£¬Control»òShiftÖеĵ¥¸ö»ò¶à¸ö£¬Èç¹ûÖ¸¶¨¶à¸ö£¬ÔòÖмäÓöººÅ¸ô¿ª£¬±íʾ¼ÓËÙ¼üÊÇ°´¼ü¼ÓÉÏÕâЩ¿ØÖƼüµÄ×éºÏ¼ü¡£ÕâЩѡÏîÖ»ÄÜÔÚÀàÐÍÊÇVIRTKEYµÄÇé¿öϲÅÄÜʹÓá£
ÔÚ¼üÃûµÄ¶¨ÒåÖУ¬ÏµÍ³°´¼üÈçF1£¬F2£¬BackSpaceºÍEscµÈ¶¼ÊÇÓÃÐéÄâ¼üµÄ·½·¨¶¨ÒåµÄ£¬Resource¡£hÖÐÒѾ°üÀ¨ËùÓеÄÔ¤¶¨Ò壬ËüÃÇÊÇÒÔVK_´øÍ·µÄһЩֵ£¬ÈçVK_BACK£¬VK_TAB£¬VK_RETURN£¬VK_ESCAPE£¬VK_DELETE£¬VK_F1ºÍVK_F2µÈ£¬¶ÁÕß¿ÉÒԲ鿴Resource¡£hÎļþ¡£ÏÂÃæÊǼÓËÙ¼ü¶¨ÒåµÄһЩÀý×Ó£º
¡¨^C¡¨£»¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ID¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£»Ctrl£«C
¡¨K¡¨£»¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ID¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£»Shift£«K
¡¨k¡¨£»¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ID£¬ALT¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£»Alt£«k
98£»¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ID£¬ASCII¡¡¡¡¡¡¡¡¡¡¡¡¡¡£»b£¨×Ö·ûbµÄASCIIÂëΪ98£©
66£»¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ID£¬ASCII¡¡¡¡¡¡¡¡¡¡¡¡¡¡£»B¡¡£¨Shift¡¡b£©
¡¨g¡¨£»¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ID¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£»g
VK_F1£»¡¡¡¡¡¡¡¡¡¡¡¡¡¡ID£¬VIRTKEY¡¡¡¡¡¡¡¡¡¡£»F1
VK_F1£»¡¡¡¡¡¡¡¡¡¡¡¡¡¡ID£¬VIRTKEY£¬CONTROL¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£»Ctrl£«F1
VK_F2£»¡¡¡¡¡¡¡¡¡¡¡¡¡¡ID£¬VIRTKEY£¬ALT£¬SHIFT¡¡£»Alt£«Shift£«F2
ÔÚÒ»¸ö×ÊÔ´½Å±¾ÎļþÖУ¬¿ÉÒÔ¶¨Òå¶à¸ö²Ëµ¥ºÍ¶à¸ö¼ÓËÙ¼ü±í£¬µ±È»Ò²ÓÐÆäËû¸÷ʽ¸÷ÑùµÄ×ÊÔ´£¬ÓÐλͼ¡¢Í¼±êÓë¶Ô»°¿òµÈ£¬Õâ¾ÍÉ漰ΪÕâЩ×ÊÔ´È¡IDÖµµÄÎÊÌ⣬ȡֵµÄʱºòÒªÕÆÎÕµÄÔÔòÊÇ£º
£¨1£©¶ÔÓÚͬÀà±ðµÄ¶à¸ö×ÊÔ´£¬×ÊÔ´ID±ØÐëΪ²»Í¬µÄÖµ£¬È綨ÒåÁËÁ½¸ö²Ëµ¥£¬ÄÇôËüÃǵÄID¾Í±ØÐëÓò»Í¬µÄÊýÖµ±íʾ£¬·ñÔò½«ÎÞ·¨·Ö±æ¡£
£¨2£©¶ÔÓÚ²»Í¬Àà±ðµÄ×ÊÔ´£¬×ÊÔ´IDÔÚÊýÖµÉÏ¿ÉÒÔÊÇÏàͬµÄ£¬Èç¿ÉÒÔ½«²Ëµ¥ºÍ¼ÓËÙ¼üµÄID¶¼¶¨ÒåΪ1£¬Í¬Ê±Ò²¿ÉÒÔÓÐIDΪ1µÄλͼ»òͼ±êµÈ£¬Windows²¢²»»á°ÑËüÃǸã»ì¡£
5¡£1¡£3¡¡¡¡Ê¹Óò˵¥ºÍ¼ÓËÙ¼ü
ÔÚÍê³É×ÊÔ´ÎļþËùʾµÄ±àдºó£¬À´¿´¿´ÈçºÎÔÚ³ÌÐòÖÐʹÓò˵¥ºÍ¼ÓËÙ¼ü£¬Àý×Ó³ÌÐòµÄÔËÐнçÃæÈçͼ5¡£1Ëùʾ£¬ÕâÀïÏÈÁгö³ÌÐòµÄ¹¦ÄÜ˵Ã÷£¬¶ÁÕß¿ÉÒÔÏȳ¢ÊÔһϣ¬ÒÔ±ãÔÚÒÔϵijÌÐò·ÖÎöÖÐÓÐËùÓ¡Ïó¡£³ÌÐò¹¦ÄÜÈçÏ£º
¡ñ¡¡¡¡¡¡³ÌÐòÔÚÓû§Ñ¡ÔñÁËÈκÎÒ»¸ö²Ëµ¥ÏîÒԺ󣬻ᵯ³öÒ»¸ö¶Ô»°¿ò£¬½«½ÓÊÕµ½µÄ²Ëµ¥ÃüÁîIDÏÔʾ³öÀ´¡£
¡ñ¡¡¡¡¡¡Ñ¡Ôñ¡°´óͼ±ê¡±¡¢¡°Ð¡Í¼±ê¡±¡¢¡°ÁÐ±í¡±ºÍ¡°Ïêϸ×ÊÁÏ¡±²Ëµ¥Ïîºó£¬Ñ¡ÖеIJ˵¥ÏîÇ°Ãæ»á³öÏÖÒ»¸öÔ²µãÑ¡Öбê¼Ç£¬4¸ö²Ëµ¥ÏîµÄÑ¡ÔñÊÇ»¥³âµÄ¡£
¡ñ¡¡¡¡¡¡ÔÚ¡°×´Ì¬À¸¡±¼°¡°¹¤¾ßÀ¸¡±²Ëµ¥µÄ3¸ö²Ëµ¥ÏîÖÐÑ¡Ôñºó£¬Ñ¡ÖеIJ˵¥ÏîÇ°Ãæ»á³öÏÖ¶Ô¹³±ê¼Ç£¬ËüÃÇÊDz»»¥³âµÄ¡£
¡ñ¡¡¡¡¡¡ÔÚ´°¿ÚµÄ¿Í»§Çøµ¥»÷Êó±êÓÒ¼ü»áµ¯³öºÍ¡°²é¿´¡±²Ëµ¥Ò»Öµĵ¯³öʽ²Ëµ¥¡£
¡ñ¡¡¡¡¡¡ÔÚ±êÌâÀ¸Í¼±êÉϵ¥»÷Êó±ê×ó¼ü£¬»áµ¯³öϵͳ²Ëµ¥£¬×¢ÒâÉÏÃæ±ÈĬÈϵIJ˵¥¶àÁËÁ½Ï¡°°ïÖúÖ÷Ì⡱ºÍ¡°¹ØÓÚ±¾³ÌÐò¡±¡£
½ÓÏÂÀ´£¬½«Öð²½·ÖÎöÕâЩ¹¦ÄÜÊÇÈçºÎʵÏֵġ£ÏÂÃæÊÇMenu¡£asmÔ´´úÂ룬´úÂëÊÇÔÚµÚ4ÕµÄFirstWindow³ÌÐòµÄ»ù´¡ÉϸÄдµÄ£¬ÕâÊDZàдWin32»ã±à³ÌÐòµÄÒ»¸ö³£Ó÷½·¨¡ª¡ª¿½±´Ò»¸öÄ£°å³ÌÐòÔÙ½øÐÐÐ޸Ļá½ÚÊ¡ºÜ¶àµÄʱ¼ä¡£
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£386
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£model¡¡flat£»¡¡stdcall
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡option¡¡casemap¡¡£ºnone
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
£»¡¡Include¡¡Îļþ¶¨Òå
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
include¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡windows¡£inc
include¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡user32¡£inc
includelib¡¡¡¡¡¡¡¡¡¡¡¡¡¡user32¡£lib
include¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡kernel32¡£inc
includelib¡¡¡¡¡¡¡¡¡¡¡¡¡¡kernel32¡£lib
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
£»¡¡Equ¡¡µÈÖµ¶¨Òå
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
ICO_MAIN¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡1000h¡¡¡¡¡¡£»Í¼±ê
IDM_MAIN¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡2000h¡¡¡¡¡¡£»²Ëµ¥
IDA_MAIN¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡2000h¡¡¡¡¡¡£»¼ÓËÙ¼ü
IDM_OPEN¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4101h
IDM_OPTION¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4102h
IDM_EXIT¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4103h
IDM_SETFONT¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4201h
IDM_SETCOLOR¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4202h
IDM_INACT¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4203h
IDM_GRAY¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4204h
IDM_BIG¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4205h
IDM_SMALL¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4206h
IDM_LIST¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4207h
IDM_DETAIL¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4208h
IDM_TOOLBAR¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4209h
IDM_TOOLBARTEXT¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4210h
IDM_INPUTBAR¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4211h
IDM_STATUSBAR¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4212h
IDM_HELP¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4301h
IDM_ABOUT¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡equ¡¡¡¡¡¡¡¡¡¡¡¡4302h
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
£»¡¡Êý¾Ý¶Î
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£data£¿
hInstance¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡dd¡¡¡¡¡¡¡¡¡¡¡¡¡¡£¿
hWinMain¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡dd¡¡¡¡¡¡¡¡¡¡¡¡¡¡£¿
hMenu¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡dd¡¡¡¡¡¡¡¡¡¡¡¡¡¡£¿
hSubMenu¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡dd¡¡¡¡¡¡¡¡¡¡¡¡¡¡£¿
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡nst
szClassName¡¡¡¡¡¡¡¡¡¡¡¡db¡¡¡¡¡¡'Menu¡¡Example'£»0
szCaptionMain¡¡¡¡¡¡¡¡db¡¡¡¡¡¡'Menu'£»0
szMenuHelp¡¡¡¡¡¡¡¡¡¡¡¡¡¡db¡¡¡¡¡¡'°ïÖúÖ÷Ì⣨&H£©'£»0
szMenuAbout¡¡¡¡¡¡¡¡¡¡¡¡db¡¡¡¡¡¡'¹ØÓÚ±¾³ÌÐò£¨&A£©¡£¡£¡£'£»0
szCaption¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡db¡¡¡¡¡¡'²Ëµ¥Ñ¡Ôñ'£»0
szFormat¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡db¡¡¡¡¡¡'ÄúÑ¡ÔñÁ˲˵¥ÃüÁ£¥08x'£»0
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
£»¡¡´úÂë¶Î
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡de
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
_DisplayMenuItem¡¡¡¡¡¡¡¡¡¡¡¡proc¡¡¡¡¡¡¡¡¡¡_dwmandID
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡local¡¡¡¡¡¡¡¡@szBuffer£§256£§£ºbyte
¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡pushad
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡invoke¡¡¡¡¡¡wsprintf£»addr¡¡@szBuffer£»addr¡¡szFormat£»_dwmandID
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡invoke¡¡¡¡¡¡MessageBox£»hWinMain£»addr¡¡@szBuffer£»
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡offset¡¡szCaption£»MB_OK
¡¡
À´Ô´£ºµç×Ó¹¤Òµ³ö°æÉç¡¡×÷ÕߣºÂÞÔƱò¡¡ÉÏÒ»Ò³¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡»ØÊéÄ¿¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÏÂÒ»Ò³¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
ÉÏÒ»Ò³¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡»ØÊéÄ¿¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÏÂÒ»Ò³¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡
µÚ5Õ¡¡Ê¹ÓÃ×ÊÔ´
5¡£1¡¡²Ëµ¥ºÍ¼ÓËÙ¼ü£¨4£©
¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡popad
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ret
¡¡
_DisplayMenuItem¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡endp
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
_Quit¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡proc
¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡invoke¡¡¡¡¡¡DestroyWindow£»hWinMain
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡invoke¡¡¡¡¡¡PostQuitMessage£»NULL
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ret
¡¡
_Quit¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡endp
£»¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·¡·
_ProcWinMain¡¡¡¡¡¡¡¡¡¡proc¡¡¡¡¡¡¡¡¡¡uses¡¡ebx¡¡edi¡¡esi¡¡hWnd£»uMsg£»wParam£»lParam
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡local¡¡¡¡¡¡¡¡@stPos£ºPOINT
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡local¡¡¡¡¡¡¡¡@hSysMenu
¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡mov¡¡¡¡eax£»uMsg
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£if¡¡¡¡¡¡¡¡¡¡¡¡eax¡¡¡¡¡¡WM_CREATE
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡invoke¡¡¡¡GetSubMenu£»hMenu£»1