°Ë±¦Êé¿â > ÎÄѧÆäËûµç×ÓÊé > ÉîÈëdz³öMFCµÚ2°æ(PDF¸ñʽ) >

µÚ59²¿·Ö

ÉîÈëdz³öMFCµÚ2°æ(PDF¸ñʽ)-µÚ59²¿·Ö

С˵£º ÉîÈëdz³öMFCµÚ2°æ(PDF¸ñʽ) ×ÖÊý£º ÿҳ4000×Ö

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




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

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0040¡¡¡¡¡¡//£ý£ýAFX_MSG¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0041¡¡¡¡¡¡DECLARE_MESSAGE_MAP¡¡£¨£©¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0042¡¡¡¡£ý£»¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡SCRIBBLEVIEW¡£H¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0001¡¡¡¡//¡¡ScribbleView¡£h¡¡£º¡¡interface¡¡of¡¡the¡¡CScribbleView¡¡class¡¡

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

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0003¡¡¡¡/////////////////////////////////////////////////////////////////¡¡

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

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0005¡¡¡¡class¡¡CScribbleView¡¡£º¡¡public¡¡CView¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0006¡¡¡¡£û¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0007¡¡¡¡protected£º¡¡//¡¡create¡¡from¡¡serialization¡¡only¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0008¡¡¡¡¡¡CScribbleView£¨£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0009¡¡¡¡¡¡DECLARE_DYNCREATE¡¡£¨CScribbleView£©¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0010¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0011¡¡¡¡//¡¡Attributes¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0012¡¡¡¡public£º¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0013¡¡¡¡¡¡CScribbleDoc*¡¡GetDocument£¨£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0014¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0015¡¡¡¡//¡¡Operations¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0016¡¡¡¡public£º¡¡

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

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

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

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0020¡¡¡¡¡¡//£û£ûAFX_VIRTUAL£¨CScribbleView£©¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0021¡¡¡¡¡¡public£º¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0022¡¡¡¡¡¡virtual¡¡void¡¡OnDraw¡¡£¨CDC*¡¡pDC£©£»¡¡¡¡//¡¡overridden¡¡to¡¡draw¡¡this¡¡view¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0023¡¡¡¡¡¡virtual¡¡BOOL¡¡PreCreateWindow£¨CREATESTRUCT&¡¡cs£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0024¡¡¡¡¡¡protected£º¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0025¡¡¡¡¡¡virtual¡¡BOOL¡¡OnPreparePrinting£¨CPrintInfo*¡¡pInfo£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0026¡¡¡¡¡¡virtual¡¡void¡¡OnBeginPrinting£¨CDC*¡¡pDC£»¡¡CPrintInfo*¡¡pInfo£©£»¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0027¡¡¡¡¡¡virtual¡¡void¡¡OnEndPrinting£¨CDC*¡¡pDC£»¡¡CPrintInfo*¡¡pInfo£©£»¡¡



274¡¡


¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­Page¡¡337¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­

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



#0028¡¡¡¡¡¡//£ý£ýAFX_VIRTUAL¡¡

#0029¡¡

#0030¡¡¡¡//¡¡Implementation¡¡

#0031¡¡¡¡public£º¡¡

#0032¡¡¡¡¡¡virtual¡¡~CScribbleView£¨£©£»¡¡

#0033¡¡¡¡#ifdef¡¡_DEBUG¡¡

#0034¡¡¡¡¡¡virtual¡¡void¡¡AssertValid£¨£©¡¡const£»¡¡

#0035¡¡¡¡¡¡virtual¡¡void¡¡Dump£¨CDumpContext&¡¡dc£©¡¡const£»¡¡

#0036¡¡¡¡#endif¡¡

#0037¡¡

#0038¡¡¡¡protected£º¡¡

#0039¡¡

#0040¡¡¡¡//¡¡Generated¡¡message¡¡map¡¡functions¡¡

#0041¡¡¡¡protected£º¡¡

#0042¡¡¡¡¡¡//£û£ûAFX_MSG£¨CScribbleView£©¡¡

#0043¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¡¡NOTE¡¡the¡¡ClassWizard¡¡will¡¡add¡¡and¡¡remove¡¡member¡¡functions¡¡here¡£¡¡

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

#0045¡¡¡¡¡¡//£ý£ýAFX_MSG¡¡

#0046¡¡¡¡¡¡DECLARE_MESSAGE_MAP¡¡£¨£©¡¡

#0047¡¡¡¡£ý£»¡¡

#0048¡¡

#0049¡¡¡¡#ifndef¡¡_DEBUG¡¡¡¡//¡¡debug¡¡version¡¡in¡¡ScribbleView¡£cpp¡¡

#0050¡¡¡¡inline¡¡CScribbleDoc*¡¡CScribbleView£º£ºGetDocument£¨£©¡¡

#0051¡¡¡¡¡¡¡¡¡¡£û¡¡return¡¡£¨CScribbleDoc*£©m_pDocument£»¡¡£ý¡¡

#0052¡¡¡¡#endif¡¡



STDAFX¡£H¡¡



#0001¡¡¡¡//¡¡stdafx¡£h¡¡£º¡¡include¡¡file¡¡for¡¡standard¡¡system¡¡include¡¡files£»¡¡

#0002¡¡¡¡//¡¡¡¡or¡¡project¡¡specific¡¡include¡¡files¡¡that¡¡are¡¡used¡¡frequently£»¡¡but¡¡

#0003¡¡¡¡//¡¡¡¡¡¡¡¡¡¡¡¡are¡¡changed¡¡infrequently¡¡

#0004¡¡¡¡//¡¡

#0005¡¡

#0006¡¡¡¡#define¡¡VC_EXTRALEAN¡¡¡¡//¡¡Exclude¡¡rarely¡­used¡¡stuff¡¡from¡¡Windows¡¡headers¡¡

#0007¡¡

#0008¡¡¡¡#include¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¡¡MFC¡¡core¡¡and¡¡standard¡¡ponents¡¡

#0009¡¡¡¡#include¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¡¡MFC¡¡extensions¡¡

#0010¡¡¡¡#ifndef¡¡_AFX_NO_AFXCMN_SUPPORT¡¡

#0011¡¡¡¡#include¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¡¡MFC¡¡support¡¡for¡¡Windows¡¡mon¡¡Controls¡¡

#0012¡¡¡¡#endif¡¡//¡¡_AFX_NO_AFXCMN_SUPPORT¡¡



RESOURCE¡£H¡¡



#0001¡¡¡¡//£û£ûNO_DEPENDENCIES£ý£ý¡¡

#0002¡¡¡¡//¡¡Microsoft¡¡Visual¡¡C£«£«¡¡generated¡¡include¡¡file¡£¡¡



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡275¡¡


¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­Page¡¡338¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­¡­

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



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0003¡¡¡¡//¡¡Used¡¡by¡¡SCRIBBLE¡£RC¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0004¡¡¡¡//¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0005¡¡¡¡#define¡¡IDR_MAINFRAME¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡128¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0006¡¡¡¡#define¡¡IDR_SCRIBTYPE¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡129¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#0007¡¡¡¡#define¡¡IDD_ABOUTBOX¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡100¡¡

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡#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£¨TRU

·µ»ØĿ¼ ÉÏÒ»Ò³ ÏÂÒ»Ò³ »Øµ½¶¥²¿ ÔÞ£¨0£© ²È£¨0£©

Äã¿ÉÄÜϲ»¶µÄ