⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dlgstaticview.cpp

📁 本程序源码是为日本一家地震监测机构编写的
💻 CPP
字号:
// DlgStaticView.cpp : implementation file
//

#include "stdafx.h"
#include "CQuakeDemo.h"
#include "DlgStaticView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgStaticView dialog

CDlgStaticView::CDlgStaticView(CWnd* pParent /*=NULL*/)
	: CResizableDialog(CDlgStaticView::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgStaticView)
	//}}AFX_DATA_INIT
}


void CDlgStaticView::DoDataExchange(CDataExchange* pDX)
{
	CResizableDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgStaticView)
	DDX_Control(pDX, IDC_LIST_TOOLBAR, m_list);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlgStaticView, CResizableDialog)
	//{{AFX_MSG_MAP(CDlgStaticView)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgStaticView message handlers

BOOL CDlgStaticView::OnInitDialog() 
{
	CResizableDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	AddAnchor(IDC_COMBO1,TOP_LEFT,TOP_RIGHT);
	AddAnchor(IDC_LIST_TOOLBAR,TOP_LEFT,BOTTOM_RIGHT);
	m_list.InsertColumn(1,_T("Type"),LVCFMT_LEFT,60);
	m_list.InsertColumn(2,_T("Value"),LVCFMT_LEFT,115);
	
	m_list.ModifyStyle(NULL,LVS_SHOWSELALWAYS);
	m_list.SetExtendedStyle(LVS_EX_FULLROWSELECT);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -