一个按钮事件里面我要调用一个自定义函数,来触发事件
这样对么  谢谢void CListDlg::OnBtnShow() //按钮事件
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CListDlg Show;
Show.fun1(); //fun1为自定义函数, 负责edit框中显示变量
UpdateData(FALSE);}