Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

HELP:FIND TEXT FORWARD / UPWARD USING RICHEDEDIT2.0

frenchfredfrenchfred Posts: 1Member
I want to use the functionnality of richeditedit2.0 that consist in find text upward (done by default) and BACKWARD (my problem).
I need help!!!
This is my code for the moment.
Thank you and excuse me for my english!

LRESULT CEssai2View::OnFindReplaceMessage(WPARAM wParam,LPARAM lParam)
{
CFindReplaceDialog* pFindReplace = CFindReplaceDialog::GetNotifier(lParam);
ASSERT(pFindReplace != NULL);

if (pFindReplace->IsTerminating())
{pFindReplace = NULL;}
else if (pFindReplace->FindNext())
if(FindText(pFindReplace->GetFindString(),pFindReplace->MatchCase(),pFindReplace->MatchWholeWord()))
AdjustDialogPosition(pFindReplace);
else
OnTextNotFound(pFindReplace->GetFindString());
}
return 0;
}


Sign In or Register to comment.