MFC Dialog面板上画坐标,通过MoveTo(x1,y1),Lineto(x2,y2)来绘制出坐标
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 110592 2013-04-24 17:21 HistogramHistogramdebugHistogram.exe
文件 877860 2013-04-24 17:21 HistogramHistogramdebugHistogram.ilk
文件 3320832 2013-04-24 17:21 HistogramHistogramdebugHistogram.pdb
文件 6766 2013-04-24 17:21 HistogramHistogramHistogramDebugBuildLog.htm
文件 942 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.exe.embed.manifest
文件 1008 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.exe.embed.manifest.res
文件 890 2013-04-24 17:21 HistogramHistogramHistogramDebugHistogram.exe.intermediate.manifest
文件 20792 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.obj
文件 13500416 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.pch
文件 23284 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.res
文件 42418 2013-04-24 17:21 HistogramHistogramHistogramDebugHistogramDlg.obj
文件 65 2013-04-24 17:21 HistogramHistogramHistogramDebugmt.dep
文件 271280 2013-04-24 17:02 HistogramHistogramHistogramDebugstdafx.obj
文件 707584 2013-04-24 17:21 HistogramHistogramHistogramDebugvc80.idb
文件 692224 2013-04-24 17:21 HistogramHistogramHistogramDebugvc80.pdb
文件 58540 2013-04-24 15:48 HistogramHistogramHistogramHistogram.aps
文件 1688 2013-04-24 15:39 HistogramHistogramHistogramHistogram.cpp
文件 459 2013-04-24 15:39 HistogramHistogramHistogramHistogram.h
文件 4987 2013-04-24 15:48 HistogramHistogramHistogramHistogram.rc
文件 5493 2013-04-24 16:12 HistogramHistogramHistogramHistogram.vcproj
文件 1425 2013-04-24 17:43 HistogramHistogramHistogramHistogram.vcproj.PC201304151002.Administrator.user
文件 4768 2013-04-24 17:43 HistogramHistogramHistogramHistogramDlg.cpp
文件 619 2013-04-24 16:53 HistogramHistogramHistogramHistogramDlg.h
文件 2927 2013-04-24 15:39 HistogramHistogramHistogramReadMe.txt
文件 21630 2005-12-08 14:56 HistogramHistogramHistogram
esHistogram.ico
文件 365 2013-04-24 15:39 HistogramHistogramHistogram
esHistogram.rc2
文件 525 2013-04-24 15:39 HistogramHistogramHistogramResource.h
文件 140 2013-04-24 15:39 HistogramHistogramHistogramstdafx.cpp
文件 2489 2013-04-24 15:39 HistogramHistogramHistogramstdafx.h
文件 18582528 2013-04-24 17:43 HistogramHistogramHistogram.ncb
............此处省略11个文件信息
// Histogram.cpp : 定义应用程序的类行为。
//
#include “stdafx.h“
#include “Histogram.h“
#include “HistogramDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CHistogramApp
BEGIN_MESSAGE_MAP(CHistogramApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()
// CHistogramApp 构造
CHistogramApp::CHistogramApp()
{
// TODO: 在此处添加构造代码,
// 将所有重要的初始化放置在 InitInstance 中
}
// 唯一的一个 CHistogramApp 对象
CHistogramApp theApp;
// CHistogramApp 初始化
BOOL CHistogramApp::InitInstance()
{
// 如果一个运行在 Windows XP 上的应用程序清单指定要
// 使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式,
//则需要 InitCommonControlsEx()。否则,将无法创建窗口。
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// 将它设置为包括所有要在应用程序中使用的
// 公共控件类。
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
// 标准初始化
// 如果未使用这些功能并希望减小
// 最终可执行文件的大小,则应移除下列
// 不需要的特定初始化例程
// 更改用于存储设置的注册表项
// TODO: 应适当修改该字符串,
// 例如修改为公司或组织名
SetRegistryKey(_T(“应用程序向导生成的本地应用程序“));
CHistogramDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: 在此处放置处理何时用“确定”来关闭
// 对话框的代码
}
else if (nResponse == IDCANCEL)
{
// TODO: 在此放置处理何时用“取消”来关闭
// 对话框的代码
}
// 由于对话框已关闭,所以将返回 FALSE 以便退出应用程序,
// 而不是启动应用程序的消息泵。
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 110592 2013-04-24 17:21 HistogramHistogramdebugHistogram.exe
文件 877860 2013-04-24 17:21 HistogramHistogramdebugHistogram.ilk
文件 3320832 2013-04-24 17:21 HistogramHistogramdebugHistogram.pdb
文件 6766 2013-04-24 17:21 HistogramHistogramHistogramDebugBuildLog.htm
文件 942 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.exe.em
文件 1008 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.exe.em
文件 890 2013-04-24 17:21 HistogramHistogramHistogramDebugHistogram.exe.intermediate.manifest
文件 20792 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.obj
文件 13500416 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.pch
文件 23284 2013-04-24 17:02 HistogramHistogramHistogramDebugHistogram.res
文件 42418 2013-04-24 17:21 HistogramHistogramHistogramDebugHistogramDlg.obj
文件 65 2013-04-24 17:21 HistogramHistogramHistogramDebugmt.dep
文件 271280 2013-04-24 17:02 HistogramHistogramHistogramDebugstdafx.obj
文件 707584 2013-04-24 17:21 HistogramHistogramHistogramDebugvc80.idb
文件 692224 2013-04-24 17:21 HistogramHistogramHistogramDebugvc80.pdb
文件 58540 2013-04-24 15:48 HistogramHistogramHistogramHistogram.aps
文件 1688 2013-04-24 15:39 HistogramHistogramHistogramHistogram.cpp
文件 459 2013-04-24 15:39 HistogramHistogramHistogramHistogram.h
文件 4987 2013-04-24 15:48 HistogramHistogramHistogramHistogram.rc
文件 5493 2013-04-24 16:12 HistogramHistogramHistogramHistogram.vcproj
文件 1425 2013-04-24 17:43 HistogramHistogramHistogramHistogram.vcproj.PC201304151002.Administrator.user
文件 4768 2013-04-24 17:43 HistogramHistogramHistogramHistogramDlg.cpp
文件 619 2013-04-24 16:53 HistogramHistogramHistogramHistogramDlg.h
文件 2927 2013-04-24 15:39 HistogramHistogramHistogramReadMe.txt
文件 21630 2005-12-08 14:56 HistogramHistogramHistogram
esHistogram.ico
文件 365 2013-04-24 15:39 HistogramHistogramHistogram
esHistogram.rc2
文件 525 2013-04-24 15:39 HistogramHistogramHistogramResource.h
文件 140 2013-04-24 15:39 HistogramHistogramHistogramstdafx.cpp
文件 2489 2013-04-24 15:39 HistogramHistogramHistogramstdafx.h
文件 18582528 2013-04-24 17:43 HistogramHistogramHistogram.ncb
............此处省略11个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)