CEditView does not have a ReplaceSel method.
Use the CEditView::GetEditCtrl() method which returns a reference to a CEdit (edit control) then call CEdit::ReplaceSel(). Like this:
GetEditCtrl().ReplaceSelected( strResult, FALSE );
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: CEdit::ReplaceSelThreaded View
|
Click Here to Expand Forum to Full Width |