类成员:
CButton m_btnOk;
CButton m_btnCancel;
CEdit m_edtString;
CEdit m_edtString2;OnInitDialog中:
m_btnOk.Create(_T("确定"), WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,
CRect(200,40,200,40), this, 1222);
m_edtString.Create(WS_CHILD|WS_VISIBLE|ES_MULTILINE|ES_READONLY,
CRect(10, 10, 300, 30), this, 1224);
m_edtString2.Create(WS_CHILD|WS_VISIBLE|ES_MULTILINE|ES_READONLY,
CRect(10, 40, 300, 30), this, 1225);为什么运行时,我建了的一个按钮,2个文本框看不到啊?
CButton m_btnOk;
CButton m_btnCancel;
CEdit m_edtString;
CEdit m_edtString2;OnInitDialog中:
m_btnOk.Create(_T("确定"), WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,
CRect(200,40,200,40), this, 1222);
m_edtString.Create(WS_CHILD|WS_VISIBLE|ES_MULTILINE|ES_READONLY,
CRect(10, 10, 300, 30), this, 1224);
m_edtString2.Create(WS_CHILD|WS_VISIBLE|ES_MULTILINE|ES_READONLY,
CRect(10, 40, 300, 30), this, 1225);为什么运行时,我建了的一个按钮,2个文本框看不到啊?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货