c++ - retrieving a pointer to an object connected to a known object via DDX_Control -


I have a CSTic object and another object (a report) that is connected to a static object DDX_Control (pDX, IDC_CHILD_WINDOW_HOLDER , M_xtpTabControl);

I can get a pointer for static objects The problem is that I can not use my real object (m_xtpTabControl)

So, is there any indication?

Just:

  CWnd * pWnd = pWindow-> GetDlgItem (IDC_CHILD_WINDOW_HOLDER); 

P>


Comments