In the above code, there seems to be a problem : althought i specified FR_DOWN, when
DWORD status = -1;
cr.cpMin = 0;
cr.cpMax = -1;
ft.chrg = cr;
ft.lpstrText = find; // find is a string that is declared,defined before ( it doesn't matter much
status = (DWORD)SendMessage(wRichEdit, EM_FINDTEXT, (WPARAM)FR_DOWN, (LPARAM)&ft);
this message is sent, my rich edit doesn't search for the text down, it search up (from the
Only if searching for the string up doesn't sucssed then, rich edit searches down.
MSDN clearly said that if i specify FR_DOWN, the search will go down.
Why isn't it working like this???