91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4.67MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-12
  • 語言: C/C++
  • 標簽: mfc??地圖??

資源簡介

mfc制作的簡單的中國地圖,可以改變線條顏色,粗細什么的

資源截圖

代碼片段和文件信息

//?ChinaMap.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“ChinaMap.h“

#include?“MainFrm.h“
#include?“ChinaMapDoc.h“
#include?“ChinaMapView.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CChinaMapApp

BEGIN_MESSAGE_MAP(CChinaMapApp?CWinApp)
//{{AFX_MSG_MAP(CChinaMapApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CChinaMapApp?construction

CChinaMapApp::CChinaMapApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChinaMapApp?object

CChinaMapApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CChinaMapApp?initialization

BOOL?CChinaMapApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));

LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)

//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.

CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CChinaMapDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CChinaMapView));
AddDocTemplate(pDocTemplate);

//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);

//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;

//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->Up

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-03-10?09:46??程序\
?????文件???????32600??2012-02-15?15:59??程序\ChinaMap.aps
?????文件????????3775??2012-03-10?08:13??程序\ChinaMap.clw
?????文件????????4245??2012-02-15?15:55??程序\ChinaMap.cpp
?????文件????????4924??2012-02-15?15:55??程序\ChinaMap.dsp
?????文件?????????541??2012-02-15?15:55??程序\ChinaMap.dsw
?????文件????????1378??2012-02-15?15:55??程序\ChinaMap.h
?????文件???????66560??2012-03-10?09:46??程序\ChinaMap.ncb
?????文件???????52736??2012-03-10?09:46??程序\ChinaMap.opt
?????文件?????????250??2012-03-10?08:13??程序\ChinaMap.plg
?????文件???????14561??2012-02-15?15:55??程序\ChinaMap.rc
?????文件????????1782??2012-02-15?15:55??程序\ChinaMapDoc.cpp
?????文件????????1497??2012-02-15?15:55??程序\ChinaMapDoc.h
?????文件????????9342??2012-02-16?10:27??程序\ChinaMapView.cpp
?????文件????????2963??2012-02-15?15:55??程序\ChinaMapView.h
?????目錄???????????0??2012-02-16?10:27??程序\Debug\
?????文件?????3679232??2012-02-16?10:27??程序\Debug\ChinaMap.bsc
?????文件??????131153??2012-02-16?10:27??程序\Debug\ChinaMap.exe
?????文件??????345456??2012-02-16?10:27??程序\Debug\ChinaMap.ilk
?????文件???????23201??2012-02-16?09:52??程序\Debug\ChinaMap.obj
?????文件?????6881504??2012-02-16?09:52??程序\Debug\ChinaMap.pch
?????文件??????500736??2012-02-16?10:27??程序\Debug\ChinaMap.pdb
?????文件????????9504??2012-02-15?15:55??程序\Debug\ChinaMap.res
?????文件???????????0??2012-02-16?09:52??程序\Debug\ChinaMap.sbr
?????文件???????14966??2012-02-16?09:52??程序\Debug\ChinaMapDoc.obj
?????文件???????????0??2012-02-16?09:52??程序\Debug\ChinaMapDoc.sbr
?????文件???????49270??2012-02-16?10:27??程序\Debug\ChinaMapView.obj
?????文件???????????0??2012-02-16?10:27??程序\Debug\ChinaMapView.sbr
?????文件???????20352??2012-02-16?09:52??程序\Debug\MainFrm.obj
?????文件???????????0??2012-02-16?09:52??程序\Debug\MainFrm.sbr
?????文件???????10794??2012-02-16?09:52??程序\Debug\SettingDlg.obj
............此處省略23個文件信息

評論

共有 條評論