HELP:FIND TEXT FORWARD / UPWARD USING RICHEDEDIT2.0 - Programmers Heaven

Howdy, Stranger!

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

Categories

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.