定义:
void _settext(CString str);
typedef void (CMfcDemo6Dlg::*SetText)(CString str);
调用:
SetText dd=&CMfcDemo6Dlg::_settext;
(this->*dd)(L"你好");
void _settext(CString str);
typedef void (CMfcDemo6Dlg::*SetText)(CString str);
调用:
SetText dd=&CMfcDemo6Dlg::_settext;
(this->*dd)(L"你好");