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

  • 大小: 2.32MB
    文件類(lèi)型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-08-17
  • 語(yǔ)言: C/C++
  • 標(biāo)簽: list??control??

資源簡(jiǎn)介

改變list control滿(mǎn)足一定條件的某一行的背景顏色的習(xí)例。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“l(fā)istcontrol.h“

#include?“MainFrm.h“
#include?“l(fā)istcontrolDoc.h“
#include?“l(fā)istcontrolView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CListcontrolApp

BEGIN_MESSAGE_MAP(CListcontrolApp?CWinApp)
//{{AFX_MSG_MAP(CListcontrolApp)
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()

/////////////////////////////////////////////////////////////////////////////
//?CListcontrolApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CListcontrolApp?object

CListcontrolApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CListcontrolApp?initialization

BOOL?CListcontrolApp::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(CListcontrolDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CListcontrolView));
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

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????目錄???????????0??2013-07-15?16:14??listcontrol\
?????目錄???????????0??2013-07-15?16:14??listcontrol\Debug\
?????文件??????118886??2013-07-15?16:51??listcontrol\Debug\listcontrol.exe
?????文件??????359096??2013-07-15?16:51??listcontrol\Debug\listcontrol.ilk
?????文件???????23482??2013-07-15?16:29??listcontrol\Debug\listcontrol.obj
?????文件?????5498060??2013-07-15?16:21??listcontrol\Debug\listcontrol.pch
?????文件??????492544??2013-07-15?16:51??listcontrol\Debug\listcontrol.pdb
?????文件????????7624??2013-07-15?16:35??listcontrol\Debug\listcontrol.res
?????文件???????15236??2013-07-15?16:21??listcontrol\Debug\listcontrolDoc.obj
?????文件???????20250??2013-07-15?16:21??listcontrol\Debug\listcontrolView.obj
?????文件???????23313??2013-07-15?16:42??listcontrol\Debug\MainFrm.obj
?????文件??????105933??2013-07-15?16:21??listcontrol\Debug\StdAfx.obj
?????文件???????18537??2013-07-15?16:51??listcontrol\Debug\testdlg.obj
?????文件??????214016??2013-07-15?16:51??listcontrol\Debug\vc60.idb
?????文件??????364544??2013-07-15?16:51??listcontrol\Debug\vc60.pdb
?????文件???????44932??2013-07-15?16:35??listcontrol\listcontrol.aps
?????文件????????2782??2013-07-15?16:58??listcontrol\listcontrol.clw
?????文件????????4299??2013-07-15?16:14??listcontrol\listcontrol.cpp
?????文件????????4786??2013-07-15?16:52??listcontrol\listcontrol.dsp
?????文件?????????547??2013-07-15?16:14??listcontrol\listcontrol.dsw
?????文件????????1411??2013-07-15?16:14??listcontrol\listcontrol.h
?????文件???????58368??2013-07-15?17:08??listcontrol\listcontrol.ncb
?????文件???????49664??2013-07-15?17:08??listcontrol\listcontrol.opt
?????文件????????1237??2013-07-15?16:51??listcontrol\listcontrol.plg
?????文件???????12348??2013-07-15?16:35??listcontrol\listcontrol.rc
?????文件????????1842??2013-07-15?16:14??listcontrol\listcontrolDoc.cpp
?????文件????????1530??2013-07-15?16:14??listcontrol\listcontrolDoc.h
?????文件????????2729??2013-07-15?16:14??listcontrol\listcontrolView.cpp
?????文件????????1971??2013-07-15?16:14??listcontrol\listcontrolView.h
?????文件????????2563??2013-07-15?16:29??listcontrol\MainFrm.cpp
?????文件????????1474??2013-07-15?16:25??listcontrol\MainFrm.h
............此處省略12個(gè)文件信息

評(píng)論

共有 條評(píng)論