📄 dlgcurve.cpp
字号:
// DlgCurve.cpp : implementation file
//
#include "stdafx.h"
#include "newcom.h"
#include "DlgCurve.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgCurve dialog
CDlgCurve::CDlgCurve(CWnd* pParent /*=NULL*/)
: CDialog(CDlgCurve::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgCurve)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
m_Brush.CreateSolidBrush (RGB(255,255,0));
}
void CDlgCurve::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgCurve)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgCurve, CDialog)
//{{AFX_MSG_MAP(CDlgCurve)
ON_WM_CTLCOLOR()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgCurve message handlers
HBRUSH CDlgCurve::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
// TODO: Change any attributes of the DC here
return m_Brush;
// TODO: Return a different brush if the default is not desired
//return hbr;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -