If you want to select the text in an edit control, why do you want to know
where there caret is?

Mike

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Peter Laman
Sent: Wednesday, 22 March 2006 11:00 PM
To: Delphi Talk
Subject: //Edit cursor

Hello,

The EM_GETSEL message retrieves the selected text in an edit control, but it
doesn't tell me where the caret is: it might be at the beginning or at the
end of the selection. Does anybody know a way to retrieve that information?

Peter Laman
Senior Software Engineer
Lance ICT Group
Roermond, the Netherlands
http://www.lance-safety.com

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to