Rich edit goto top

Hi!
I would like to known How goto the top in the rich edit using C++?

Thanks,
SendMessage(richEditHWND, WM_VSCROLL, SB_TOP, 0);

That works, I think.
Hi!

This not work!!!
Do you have other idea?

Thanks,

If you are creating a Window with "CreateDialog" or "DialogBox", do this:
SendDlgItemMessage(WindowHWND, RichEditID, WM_VSCROLL, SB_TOP, 0);
Hi!

I solve the problem this mode:

::SendMessage(richEditHWND, WM_VSCROLL, SB_TOP, 0);

Thanks a lot...
Topic archived. No new replies allowed.