멤버 함수 포인터
jjuiddong
class { void SetRect(void (CWnd::*func)(const CRect &out), CWnd *ptr); void (CWnd::*m_memberFunc)(const CRect &out); // variable CWnd *m_funcThisPtr; // function this pointer }; // member function call (m_funcThisPtr->*m_memberFunc)(m_rect); // function pointer casting m_frm1->m_camWindow->SetRect((void (CWnd::*)(const CRect &)) &CLEDDetectorDlg::SkewRect, this);