菜鸟请问dialog base程序中在其他类中如何获得对话框类的某一控件句柄?
CtestDlg : public CDialog
{......}
Cother
{...
}
void Cother::getlist()
{
CtestDlg::GetDlgItem(IDC_LIST);
....
}
为什么编译提示error C2352: 'CWnd::GetDlgItem' : illegal call of non-static member function,请问如何解决?
谢谢各位大人。