-
大小: 66KB文件類型: .zip金幣: 2下載: 0 次發(fā)布日期: 2022-02-21
- 語言: C/C++
- 標(biāo)簽: outlookbar??控件??
資源簡介
很不錯的一個outlookbar控件CXTOutBarCtrl,該控件來源于Xtreme Toolkit,作者對其進行了修改,使其不依賴于類庫獨立存在,由于沒有運用XT的其他類,可能你會覺得它沒有在類庫中的華麗,但相對于其小巧的體格而言,已經(jīng)很難得了。
源文件包括兩個頭文件,兩個執(zhí)行文件:XTMemDC.h,XTMemDC.cpp,XTOutBarCtrl.h,XTOutBarCtrl.cpp.其中XTMemDC是一個CDC繼承類,用于輔助功能

代碼片段和文件信息
//?Demo.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Demo.h“
#include?“MainFrm.h“
#include?“DemoDoc.h“
#include?“DemoView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDemoApp
BEGIN_MESSAGE_MAP(CDemoApp?CWinApp)
//{{AFX_MSG_MAP(CDemoApp)
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)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CDemoApp?construction
CDemoApp::CDemoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDemoApp?object
CDemoApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDemoApp?initialization
BOOL?CDemoApp::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(CDemoDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CDemoView));
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->UpdateWindow();
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CAboutDlg?dialog?used?for?App?About
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-03-17?13:26??www.NewXing.com\
?????文件????????2132??2003-02-25?20:09??www.NewXing.com\Demo.clw
?????文件????????4078??2003-02-25?17:10??www.NewXing.com\Demo.cpp
?????文件????????5500??2003-02-25?19:45??www.NewXing.com\Demo.dsp
?????文件?????????531??2003-02-25?18:01??www.NewXing.com\Demo.dsw
?????文件????????1334??2003-02-25?17:10??www.NewXing.com\Demo.h
?????文件???????11561??2003-02-25?19:30??www.NewXing.com\Demo.rc
?????文件????????1737??2010-10-29?13:09??www.NewXing.com\DemoDoc.cpp
?????文件????????1453??2003-02-25?17:10??www.NewXing.com\DemoDoc.h
?????文件????????1886??2010-10-29?13:09??www.NewXing.com\DemoView.cpp
?????文件????????1686??2003-02-25?17:10??www.NewXing.com\DemoView.h
?????文件????????7838??2010-10-29?13:09??www.NewXing.com\MainFrm.cpp
?????文件????????1887??2010-10-29?13:09??www.NewXing.com\MainFrm.h
?????目錄???????????0??2010-10-20?11:43??www.NewXing.com\res\
?????文件????????1086??2003-02-25?19:30??www.NewXing.com\resource.h
?????文件????????1078??2003-02-25?17:10??www.NewXing.com\res\Demo.ico
?????文件?????????396??2003-02-25?17:10??www.NewXing.com\res\Demo.rc2
?????文件????????1078??2003-02-25?17:10??www.NewXing.com\res\DemoDoc.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon1.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon10.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon11.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon2.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon3.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon4.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon5.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon6.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon7.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon8.ico
?????文件????????1078??2003-02-25?19:30??www.NewXing.com\res\icon9.ico
?????文件????????1078??2003-02-25?17:10??www.NewXing.com\res\Toolbar.bmp
?????文件?????????206??2003-02-25?17:10??www.NewXing.com\StdAfx.cpp
............此處省略7個文件信息
- 上一篇:c++ 連連看
- 下一篇:雙三次樣條插值算法代碼
評論
共有 條評論