c++ - How to get CEdit (or CWnd) text in debug time -
when debug project, , cedit object's text changed, want see new value. watch window doesn't display text member. text stored? edit: forgot write use visual c++ 6.0 ('98 edition) the tree of cedit in watch window seems this: m_editbox | + [cwnd] | + ccmdtarget + classcwnd + m_hwnd + wndtop + wndbottom + wndtopmost + wndnotopmost + m_hwndowner - m_nflags - m_pfnsuper - m_nmsgdraglist - m_nmodalresult + m_pdroptarget + m_pctrlcont + m_pctrlsite + _messageentries + messagemap + cwnd | + ccmdtarget + m_hwnd + m_hwndowner - m_nflags - m_pfnsuper - m_nmodalresult + m_pdroptarget - m_pctrlcont - m_pctrlsite to answer question window's text stored upfront: don't know, , neither given window. information have ask window manager instead. all information pertaining window stored in internal structure maintained window manager. window manager implemented win32k.sys , consequently internal ...