• 大小: 62KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-14
  • 语言: 其他
  • 标签:

资源简介

颜色提取器 颜色提取器 颜色提取器 颜色提取器 颜色提取器 颜色提取器 颜色提取器

资源截图

代码片段和文件信息

// ColorPicker.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “ColorPicker.h“
#include “ColorPickerDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CColorPickerApp

BEGIN_MESSAGE_MAP(CColorPickerApp CWinApp)
//{{AFX_MSG_MAP(CColorPickerApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CColorPickerApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CColorPickerApp object

CColorPickerApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CColorPickerApp initialization

BOOL CColorPickerApp::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

CColorPickerDlg dlg;
m_pMainWnd = &dlg;
int 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;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-07-01 10:22  颜色提取器\
     文件       20932  2010-01-08 23:19  颜色提取器\ColorPicker.aps
     文件        1201  2010-01-08 23:21  颜色提取器\ColorPicker.clw
     文件        2133  2009-07-09 16:50  颜色提取器\ColorPicker.cpp
     文件        4249  2009-07-09 16:50  颜色提取器\ColorPicker.dsp
     文件         547  2009-07-09 16:50  颜色提取器\ColorPicker.dsw
     文件        1379  2009-07-09 16:50  颜色提取器\ColorPicker.h
     文件       58368  2010-01-08 23:22  颜色提取器\ColorPicker.ncb
     文件       53760  2010-01-08 23:22  颜色提取器\ColorPicker.opt
     文件        1676  2010-01-08 23:17  颜色提取器\ColorPicker.plg
     文件        5394  2009-07-09 17:21  颜色提取器\ColorPicker.rc
     文件        5288  2009-10-04 22:33  颜色提取器\ColorPickerDlg.cpp
     文件        1645  2009-07-09 17:20  颜色提取器\ColorPickerDlg.h
     文件        3669  2009-07-09 16:50  颜色提取器\ReadMe.txt
     目录           0  2010-06-30 09:40  颜色提取器\res\
     文件         781  2009-07-09 17:13  颜色提取器\resource.h
     文件        1078  2009-07-09 16:50  颜色提取器\res\ColorPicker.ico
     文件         403  2009-07-09 16:50  颜色提取器\res\ColorPicker.rc2
     文件         213  2009-07-09 16:50  颜色提取器\StdAfx.cpp
     文件        1054  2009-07-09 16:50  颜色提取器\StdAfx.h
     文件       44593  2010-06-30 10:02  颜色提取器\Visual C++.jpg

评论

共有 条评论

相关资源