void CQqDlg::OnCleartext()
{
// TODO: Add your control notification handler code here
GetDlgItem(IDC_MYTEXT)->SetWindowText("");
}
void CQqDlg::OnCopyTEXT()
{
// TODO: Add your control notification handler code here
CString str;
CListBox*lbx; GetDlgItem(IDC_MYTEXT)->GetWindowTEXT(str);
lbx=(CListBox*)GetDlgItem(IDC_TEXTLIST);
lbx->AddString(str);
}
error C2039: 'GetWindowTEXT' : is not a member of 'CWnd'
d:\microsoft visual studio\vc98\mfc\include\afxwin.h(1899) : see declaration of 'CWnd'
{
// TODO: Add your control notification handler code here
GetDlgItem(IDC_MYTEXT)->SetWindowText("");
}
void CQqDlg::OnCopyTEXT()
{
// TODO: Add your control notification handler code here
CString str;
CListBox*lbx; GetDlgItem(IDC_MYTEXT)->GetWindowTEXT(str);
lbx=(CListBox*)GetDlgItem(IDC_TEXTLIST);
lbx->AddString(str);
}
error C2039: 'GetWindowTEXT' : is not a member of 'CWnd'
d:\microsoft visual studio\vc98\mfc\include\afxwin.h(1899) : see declaration of 'CWnd'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货