Re: set text for cedit in cmainframe from cview

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yeah, I almost think about it. The pointer seems to be correct but not the
right window. ARRGH

m_pChildFrame = (CChildFrame *) this->GetParentFrame();
m_pMainFrame = (CMainFrame *) this->GetParentFrame(); //Just replace
"this" with "m_pChildFrame" and it works


Thanks.
dale.


.



Relevant Pages