ÓÑÇéÌáʾ£ºÈç¹û±¾ÍøÒ³´ò¿ªÌ«Âý»òÏÔʾ²»ÍêÕû£¬Çë³¢ÊÔÊó±êÓÒ¼ü¡°Ë¢Ð¡±±¾ÍøÒ³£¡ÔĶÁ¹ý³Ì·¢ÏÖÈκδíÎóÇë¸æËßÎÒÃÇ£¬Ð»Ð»£¡£¡ ±¨¸æ´íÎó
Ò»ÊÀÊé³Ç ·µ»Ø±¾ÊéĿ¼ ÎÒµÄÊé¼Ü ÎÒµÄÊéÇ© TXTÈ«±¾ÏÂÔØ ½øÈëÊé°É ¼ÓÈëÊéÇ©

ÉîÈëdz³öMFCµÚ2°æ(PDF¸ñʽ)-µÚ74ÕÂ

°´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·­Ò³£¬°´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ£¬°´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿£¡
¡ª¡ª¡ª¡ªÎ´ÔĶÁÍꣿ¼ÓÈëÊéÇ©ÒѱãÏ´μÌÐøÔĶÁ£¡




¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0008¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0009¡¡¡¡//¡¡Next¡¡default¡¡values¡¡for¡¡new¡¡objects¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0010¡¡¡¡//¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0011¡¡¡¡#ifdef¡¡APSTUDIO_INVOKED¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0012¡¡¡¡#ifndef¡¡APSTUDIO_READONLY_SYMBOLS¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0013¡¡¡¡#define¡¡_APS_3D_CONTROLS¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡1¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0014¡¡¡¡#define¡¡_APS_NEXT_RESOURCE_VALUE¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡130¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0015¡¡¡¡#define¡¡_APS_NEXT_CONTROL_VALUE¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡1000¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0016¡¡¡¡#define¡¡_APS_NEXT_SYMED_VALUE¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡101¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0017¡¡¡¡#define¡¡_APS_NEXT_MAND_VALUE¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡32771¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0018¡¡¡¡#endif¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0019¡¡¡¡#endif¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡STDAFX¡£CPP¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0001¡¡¡¡//¡¡stdafx¡£cpp¡¡£º¡¡source¡¡file¡¡that¡¡includes¡¡just¡¡the¡¡standard¡¡includes¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0002¡¡¡¡//¡¡¡¡¡¡¡¡¡¡¡¡¡¡Scribble¡£pch¡¡will¡¡be¡¡the¡¡pre¡­piled¡¡header¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0003¡¡¡¡//¡¡¡¡¡¡¡¡¡¡¡¡¡¡stdafx¡£obj¡¡will¡¡contain¡¡the¡¡pre¡­piled¡¡type¡¡information¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0004¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0005¡¡¡¡#include¡¡¡¨stdafx¡£h¡¨¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡SCRIBBLE¡£CPP¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0001¡¡¡¡//¡¡Scribble¡£cpp¡¡£º¡¡Defines¡¡the¡¡class¡¡behaviors¡¡for¡¡the¡¡application¡£¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0002¡¡¡¡//¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0003¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0004¡¡¡¡#include¡¡¡¨stdafx¡£h¡¨¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0005¡¡¡¡#include¡¡¡¨Scribble¡£h¡¨¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0006¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0007¡¡¡¡#include¡¡¡¨MainFrm¡£h¡¨¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0008¡¡¡¡#include¡¡¡¨ChildFrm¡£h¡¨¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0009¡¡¡¡#include¡¡¡¨ScribbleDoc¡£h¡¨¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0010¡¡¡¡#include¡¡¡¨ScribbleView¡£h¡¨¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0011¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0012¡¡¡¡#ifdef¡¡_DEBUG¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0013¡¡¡¡#define¡¡new¡¡DEBUG_NEW¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0014¡¡¡¡#undef¡¡THIS_FILE¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0015¡¡¡¡static¡¡char¡¡THIS_FILE£§£§¡¡=¡¡__FILE__£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0016¡¡¡¡#endif¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0017¡¡



276¡¡


¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­Page¡¡339¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡µÚ£´Õ¡¡¡¡¡¡¡¡Visual¡¡C£«£«¡¡¡¡ÕûºÏÐÔÜ›ówé_°l­h¾³¡¡



#0018¡¡¡¡/////////////////////////////////////////////////////////////////¡¡

#0019¡¡¡¡//¡¡CScribbleApp¡¡

#0020¡¡

#0021¡¡¡¡BEGIN_MESSAGE_MAP£¨CScribbleApp£»¡¡CWinApp£©¡¡

#0022¡¡¡¡¡¡//£û£ûAFX_MSG_MAP£¨CScribbleApp£©¡¡

#0023¡¡¡¡¡¡ON_MAND£¨ID_APP_ABOUT£»¡¡OnAppAbout£©¡¡

#0024¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¡¡NOTE¡¡the¡¡ClassWizard¡¡will¡¡add¡¡and¡¡remove¡¡mapping¡¡macros¡¡here¡£¡¡

#0025¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¡¡¡¡¡¡¡¡DO¡¡NOT¡¡EDIT¡¡what¡¡you¡¡see¡¡in¡¡these¡¡blocks¡¡of¡¡generated¡¡code£¡¡¡

#0026¡¡¡¡¡¡//£ý£ýAFX_MSG_MAP¡¡

#0027¡¡¡¡¡¡//¡¡Standard¡¡file¡¡based¡¡document¡¡mands¡¡

#0028¡¡¡¡¡¡ON_MAND£¨ID_FILE_NEW£»¡¡CWinApp£º£ºOnFileNew£©¡¡

#0029¡¡¡¡¡¡ON_MAND£¨ID_FILE_OPEN£»¡¡CWinApp£º£ºOnFileOpen£©¡¡

#0030¡¡¡¡¡¡//¡¡Standard¡¡print¡¡setup¡¡mand¡¡

#0031¡¡¡¡¡¡ON_MAND£¨ID_FILE_PRINT_SETUP£»¡¡CWinApp£º£ºOnFilePrintSetup£©¡¡

#0032¡¡¡¡END_MESSAGE_MAP£¨£©¡¡

#0033¡¡

#0034¡¡¡¡/////////////////////////////////////////////////////////////////¡¡

#0035¡¡¡¡//¡¡CScribbleApp¡¡construction¡¡

#0036¡¡

#0037¡¡¡¡CScribbleApp£º£ºCScribbleApp£¨£©¡¡

#0038¡¡¡¡£û¡¡

#0039¡¡¡¡¡¡//¡¡TODO£º¡¡add¡¡construction¡¡code¡¡here£»¡¡

#0040¡¡¡¡¡¡//¡¡Place¡¡all¡¡significant¡¡initialization¡¡in¡¡InitInstance¡¡

#0041¡¡¡¡£ý¡¡

#0042¡¡

#0043¡¡¡¡/////////////////////////////////////////////////////////////////¡¡

#0044¡¡¡¡//¡¡The¡¡one¡¡and¡¡only¡¡CScribbleApp¡¡object¡¡

#0045¡¡

#0046¡¡¡¡CScribbleApp¡¡theApp£»¡¡

#0047¡¡

#0048¡¡¡¡/////////////////////////////////////////////////////////////////¡¡

#0049¡¡¡¡//¡¡CScribbleApp¡¡initialization¡¡

#0050¡¡

#0051¡¡¡¡BOOL¡¡CScribbleApp£º£ºInitInstance£¨£©¡¡

#0052¡¡¡¡£û¡¡

#0053¡¡¡¡¡¡//¡¡Standard¡¡initialization¡¡

#0054¡¡¡¡¡¡//¡¡If¡¡you¡¡are¡¡not¡¡using¡¡these¡¡features¡¡and¡¡wish¡¡to¡¡reduce¡¡the¡¡size¡¡

#0055¡¡¡¡¡¡//¡¡¡¡of¡¡your¡¡final¡¡executable£»¡¡you¡¡should¡¡remove¡¡from¡¡the¡¡following¡¡

#0056¡¡¡¡¡¡//¡¡¡¡the¡¡specific¡¡initialization¡¡routines¡¡you¡¡do¡¡not¡¡need¡£¡¡

#0057¡¡

#0058¡¡¡¡#ifdef¡¡_AFXDLL¡¡

#0059¡¡¡¡¡¡Enable3dControls£¨£©£»¡¡¡¡¡¡¡¡¡¡¡¡//¡¡Call¡¡this¡¡when¡¡using¡¡MFC¡¡in¡¡a¡¡shared¡¡DLL¡¡

#0060¡¡¡¡#else¡¡

#0061¡¡¡¡¡¡Enable3dControlsStatic£¨£©£»¡¡¡¡¡¡//¡¡Call¡¡this¡¡when¡¡linking¡¡to¡¡MFC¡¡statically¡¡

#0062¡¡¡¡#endif¡¡

#0063¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡277¡¡


¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­Page¡¡340¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡µÚƪ¡¡¡¡¡¡¡¡ÓûÉƹ¤ÊÂÏÈÀûÆäÆ÷¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0064¡¡//¡¡ºî¿¡½Ü×¢£º0065~0068¡¡ÎªVisual¡¡C£«£«¡¡5¡£0¡¡ÐÂÔö¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0065¡¡¡¡//¡¡Change¡¡the¡¡registry¡¡key¡¡under¡¡which¡¡our¡¡settings¡¡are¡¡stored¡£¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0066¡¡¡¡//¡¡You¡¡should¡¡modify¡¡this¡¡string¡¡to¡¡be¡¡something¡¡appropriate¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0067¡¡¡¡//¡¡such¡¡as¡¡the¡¡name¡¡of¡¡your¡¡pany¡¡or¡¡organization¡£¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0068¡¡¡¡SetRegistryKey£¨_T£¨¡¨Local¡¡AppWizard¡­Generated¡¡Applications¡¨£©£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0069¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0070¡¡¡¡LoadStdProfileSettings£¨£©£»¡¡¡¡//¡¡Load¡¡std¡¡INI¡¡file¡¡options¡¡£¨including¡¡MRU£©¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0071¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0072¡¡¡¡//¡¡Register¡¡the¡¡application's¡¡document¡¡templates¡£¡¡¡¡Document¡¡templates¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0073¡¡¡¡//¡¡¡¡serve¡¡as¡¡the¡¡connection¡¡between¡¡documents£»¡¡frame¡¡windows¡¡and¡¡views¡£¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0074¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0075¡¡¡¡CMultiDocTemplate*¡¡pDocTemplate£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0076¡¡¡¡pDocTemplate¡¡=¡¡new¡¡CMultiDocTemplate£¨¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0077¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡IDR_SCRIBTYPE£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0078¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡RUNTIME_CLASS£¨CScribbleDoc£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0079¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡RUNTIME_CLASS£¨CChildFrame£©£»¡¡//¡¡custom¡¡MDI¡¡child¡¡frame¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0080¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡RUNTIME_CLASS£¨CScribbleView£©£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0081¡¡¡¡AddDocTemplate£¨pDocTemplate£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0082¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0083¡¡¡¡//¡¡create¡¡main¡¡MDI¡¡Frame¡¡window¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0084¡¡¡¡CMainFrame*¡¡pMainFrame¡¡=¡¡new¡¡CMainFrame£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0085¡¡¡¡if¡¡£¨£¡pMainFrame¡­¡·LoadFrame£¨IDR_MAINFRAME£©£©¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0086¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡return¡¡FALSE£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0087¡¡¡¡m_pMainWnd¡¡=¡¡pMainFrame£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0088¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0089¡¡¡¡//¡¡Enable¡¡drag/drop¡¡open¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0090¡¡¡¡m_pMainWnd¡­¡·DragAcceptFiles£¨£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0091¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0092¡¡¡¡//¡¡Enable¡¡DDE¡¡Execute¡¡open¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0093¡¡¡¡EnableShellOpen£¨£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0094¡¡¡¡RegisterShellFileTypes£¨TRUE£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0095¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0096¡¡¡¡//¡¡Parse¡¡mand¡¡line¡¡for¡¡standard¡¡shell¡¡mands£»¡¡DDE£»¡¡file¡¡open¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0097¡¡¡¡CmandLineInfo¡¡cmdInfo£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0098¡¡¡¡ParsemandLine£¨cmdInfo£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0099¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0100¡¡¡¡//¡¡Dispatch¡¡mands¡¡specified¡¡on¡¡the¡¡mand¡¡line¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0101¡¡¡¡if¡¡£¨£¡ProcessShellmand£¨cmdInfo£©£©¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0102¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡return¡¡FALSE£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0103¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0104¡¡¡¡//¡¡The¡¡main¡¡window¡¡has¡¡been¡¡initialized£»¡¡so¡¡show¡¡and¡¡update¡¡it¡£¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0105¡¡¡¡pMainFrame¡­¡·ShowWindow£¨m_nCmdShow£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0106¡¡¡¡pMainFrame¡­¡·UpdateWindow£¨£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0107¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0108¡¡¡¡return¡¡TRUE£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0109¡¡£ý¡¡



278¡¡


¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­Page¡¡341¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡µÚ£´Õ¡¡¡¡¡¡¡¡Visual¡¡C£«£«¡¡¡¡ÕûºÏÐÔÜ›ówé_°l­h¾³¡¡



#0110¡¡

#0111¡¡/////////////////////////////////////////////////////////////////¡¡

#0112¡¡//¡¡CAboutDlg¡¡dialog¡¡used¡¡for¡¡App¡¡About¡¡

#0113¡¡

#0114¡¡class¡¡CAboutDlg¡¡£º¡¡public¡¡CDialog¡¡

#0115¡¡£û¡¡

#0116¡¡public£º¡¡

#0117¡¡¡¡CAboutDlg£¨£©£»¡¡

#0118¡¡

#0119¡¡//¡¡Dialog¡¡Data¡¡

#0120¡¡¡¡//£û£ûAFX_DATA£¨CAboutDlg£©¡¡

#0121¡¡¡¡enum¡¡£û¡¡IDD¡¡=¡¡IDD_ABOUTBOX¡¡£ý£»¡¡

#0122¡¡¡¡//£ý£ýAFX_DATA¡¡

#0123¡¡

#0124¡¡¡¡//¡¡ClassWizard¡¡generated¡¡virtual¡¡function¡¡overrides¡¡

#0125¡¡¡¡//£û£ûAFX_VIRTUAL£¨CAboutDlg£©¡¡

#0126¡¡¡¡protected£º¡¡

#0127¡¡¡¡virtual¡¡void¡¡DoDataExchange£¨CDataExchange*¡¡pDX£©£»¡¡¡¡//¡¡DDX/DDV¡¡support¡¡

#0128¡¡¡¡//£ý£ýAFX_VIRTUAL¡¡

#0129¡¡

#0130¡¡//¡¡Implementation¡¡

#0131¡¡protected£º¡¡

#0132¡¡¡¡//£û£ûAFX_MSG£¨CAboutDlg£©¡¡

#0133¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¡¡No¡¡message¡¡handlers¡¡

#0134¡¡¡¡//£ý£ýAFX_MSG¡¡

#0135¡¡¡¡DECLARE_MESSAGE_MAP£¨£©¡¡

#0136¡¡£ý£»¡¡

#0137¡¡

#0138¡¡CAboutDlg£º£ºCAboutDlg£¨£©¡¡£º¡¡CDialog£¨CAboutDlg£º£ºIDD£©¡¡

#0139¡¡£û¡¡

#0140¡¡¡¡//£û£ûAFX_DATA_INIT£¨CAboutDlg£©¡¡

#0141¡¡¡¡//£ý£ýAFX_DATA_INIT¡¡

#0142¡¡£ý¡¡

#0143¡¡

#0144¡¡void¡¡CAboutDlg£º£ºDoDataExchange£¨CDataExchange*¡¡pDX£©¡¡

#0145¡¡£û¡¡

#0146¡¡¡¡CDialog£º£ºDoDataE
·µ»ØĿ¼ ÉÏÒ»Ò³ ÏÂÒ»Ò³ »Øµ½¶¥²¿ ÔÞ£¨0£© ²È£¨1£©
δÔĶÁÍꣿ¼ÓÈëÊéÇ©ÒѱãÏ´μÌÐøÔĶÁ£¡
ÎÂÜ°Ìáʾ£º ο´Ð¡ËµµÄͬʱ·¢±íÆÀÂÛ£¬Ëµ³ö×Ô¼ºµÄ¿´·¨ºÍÆäËüС»ï°éÃÇ·ÖÏíÒ²²»´íŶ£¡·¢±íÊéÆÀ»¹¿ÉÒÔ»ñµÃ»ý·ÖºÍ¾­Ñé½±Àø£¬ÈÏÕæдԭ´´ÊéÆÀ ±»²ÉÄÉΪ¾«ÆÀ¿ÉÒÔ»ñµÃ´óÁ¿½ð±Ò¡¢»ý·ÖºÍ¾­Ñé½±ÀøŶ£¡