分类:
2008-09-17 11:11:38
()
- ()
-- ()
谁能帮我解释下这段程序是什么意思啊?
CComSel::CComSel(CWnd* pParent /*=NULL*/)
: CDialog(CComSel::IDD, pParent)
{
//{{AFX_DATA_INIT(CComSel)
m_com = 1;
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CComSel::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CComSel)
DDX_CBIndex(pDX, IDC_COMSEL, m_com);
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CComSel, CDialog)
//{{AFX_MSG_MAP(CComSel)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
__________________
大家共同奋斗!
谁能帮忙解释下
谢谢了
我本来就没有学过
公司叫我做
麻烦帮忙看看修改下
谢谢
__________________
大家共同奋斗!
给CCombobox的列表选项申明个变量。。。看MFC技术内幕
实现变量和控件的绑定.
__________________
为祖国荣誉而战
谢谢了
__________________
大家共同奋斗!
第一部分是对话框类的构造函数,对成员变量进行初始化;
第二部分是数据交换;
第三部分是消息映射宏定义的地方。
全部时间均为北京时间. 现在时间是14:30 . |
Powered by: vBulletin Version 2.2.8
Translated and hacked by:
Copyright © Jelsoft Enterprises Limited 2000, 2001.