sendmessage works fine for what you are trying to do, would like me to list some of the other flags for ya?

like

EM_CHARFROMPOS Determines the character at a specified location in an edit control (not applicable in NT 3.51)

EM_GETFIRSTVISIBLELINE Determines the first line that is displayed in an edit control

......

[Edited by billrogers on 07-26-2000 at 02:36 PM]