资源简介
本程序重载了CRectTracker类的Draw 函数 使矩形边框和八个角显示不同的颜色 可以成功运行显示
代码片段和文件信息
// COMBOX.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “COMBOX.h“
#include “COMBOXDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CCOMBOXApp
BEGIN_MESSAGE_MAP(CCOMBOXApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()
// CCOMBOXApp construction
CCOMBOXApp::CCOMBOXApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
// The one and only CCOMBOXApp object
CCOMBOXApp theApp;
// CCOMBOXApp initialization
BOOL CCOMBOXApp::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles. Otherwise any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::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
// 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“));
CCOMBOXDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 326 2013-10-31 13:33 CRectTracker_Combox\Combox\COMBOX\COMBOX\arrowcop.cur
文件 680352 2013-10-31 14:23 CRectTracker_Combox\Combox\COMBOX\COMBOX\COMBOX.APS
文件 2084 2013-10-30 17:12 CRectTracker_Combox\Combox\COMBOX\COMBOX\COMBOX.cpp
文件 504 2013-10-30 17:12 CRectTracker_Combox\Combox\COMBOX\COMBOX\COMBOX.h
文件 6316 2013-10-31 14:23 CRectTracker_Combox\Combox\COMBOX\COMBOX\COMBOX.rc
文件 6434 2013-11-01 12:43 CRectTracker_Combox\Combox\COMBOX\COMBOX\COMBOX.vcproj
文件 1427 2013-10-30 17:26 CRectTracker_Combox\Combox\COMBOX\COMBOX\COMBOX.vcproj.MICROSOF-EEDBC8.Administrator.user
文件 1427 2013-11-01 14:15 CRectTracker_Combox\Combox\COMBOX\COMBOX\COMBOX.vcproj.XP-201309131021.Administrator.user
文件 7244 2013-11-01 14:11 CRectTracker_Combox\Combox\COMBOX\COMBOX\COMBOXDlg.cpp
文件 1073 2013-11-01 13:54 CRectTracker_Combox\Combox\COMBOX\COMBOX\COMBOXDlg.h
文件 6806 2013-11-01 14:13 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\BuildLog.htm
文件 920 2013-10-31 17:44 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\COMBOX.exe.em
文件 984 2013-10-31 17:44 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\COMBOX.exe.em
文件 861 2013-11-01 14:13 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\COMBOX.exe.intermediate.manifest
文件 20834 2013-11-01 14:11 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\COMBOX.obj
文件 25296896 2013-10-31 17:44 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\COMBOX.pch
文件 644348 2013-10-31 17:44 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\COMBOX.res
文件 53448 2013-11-01 14:11 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\COMBOXDlg.obj
文件 69 2013-11-01 14:13 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\mt.dep
文件 11571 2013-11-01 14:13 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\RectExTracker.obj
文件 465439 2013-10-31 17:44 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\stdafx.obj
文件 912384 2013-11-01 14:13 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\vc90.idb
文件 2002944 2013-11-01 14:13 CRectTracker_Combox\Combox\COMBOX\COMBOX\Debug\vc90.pdb
文件 4224 2013-10-30 17:12 CRectTracker_Combox\Combox\COMBOX\COMBOX\ReadMe.txt
文件 1010 2013-11-01 14:15 CRectTracker_Combox\Combox\COMBOX\COMBOX\RectExTracker.cpp
文件 185 2013-11-01 14:11 CRectTracker_Combox\Combox\COMBOX\COMBOX\RectExTracker.h
文件 21630 2003-07-23 17:52 CRectTracker_Combox\Combox\COMBOX\COMBOX\res\COMBOX.ico
文件 397 2013-10-30 17:12 CRectTracker_Combox\Combox\COMBOX\COMBOX\res\COMBOX.rc2
文件 948 2013-10-31 14:23 CRectTracker_Combox\Combox\COMBOX\COMBOX\resource.h
文件 206 2013-10-30 17:12 CRectTracker_Combox\Combox\COMBOX\COMBOX\stdafx.cpp
............此处省略18个文件信息
评论
共有 条评论