www.pudn.com > MFCVista.rar > MFCVistaDlg.h
// MFCVistaDlg.h : 头文件
//
#pragma once
#include "afxwin.h"
#include "IListCtrl.h"
#include "IButton.h"
#include "IontrlPos.h"
#include "IBitmapButton.h"
#include "ICheckBox.h"
#include "IRadioButton.h"
#include "IComboBox.h"
#include "IStatic.h"
#include "IEdit.h"
#include "ITreeCtrl.h"
class CMFCVistaDlg : public CDialog,public CIontrlPos
{
// 构造
public:
CMFCVistaDlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
enum { IDD = IDD_MFCVISTA_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg UINT OnNcHitTest(CPoint point);
afx_msg void OnBnClickedButton3();
DECLARE_MESSAGE_MAP()
public:
CIButton m_btnDemoButton1,
m_btnClose;
CIBitmapButton m_btnDemoButton2;
CICheckBox m_btnCheckBox1,
m_btnCheckBox2,
m_btnCheckBox3;
CIRadioButton m_rdoArr[3];
CBitmap m_bkImage;
BITMAP m_infoImage;
CIComboBox m_comList;
CIStaticEx m_textName,
m_textWeight,
m_textMarriage,
m_textHeight,
m_textOld;
CIEdit m_editOld,
m_editName,
m_editMarriage,
m_editHeight,
m_editWeight;
CITreeCtrl m_treeCtrl;
CIListCtrl m_lstInfo;
CFont m_fntSys;
afx_msg void OnNMDblclkList(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnNMDblclkTree1(NMHDR *pNMHDR, LRESULT *pResult);
};