Delphi

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • //Edit cursor

    0 answers - 1163 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    You could get the Selstart Position and relate that to the cursor position
    to find its relative position within the selected area.
    from Robert Meek dba Tangentals Design CCopyright 2006
    "When I examine myself and my methods of thought, I come to the conclusion
    that the gift of Fantasy has meant more to me then my talent for absorbing
    positive knowledge!"
    Albert Einstein
    Message
    From: delphi-talk-bounces (AT) elists (DOT) org [mailto:delphi-talk-bounces (AT) elists (DOT) org]
    Behalf Peter Laman
    Sent: Wednesday, March 22, 2006 7:00 AM
    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 -Delphi-Talk (AT) elists (DOT) org
    Delphi-Talk mailing list -Delphi-Talk (AT) elists (DOT) org

Re: //Edit cursor


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 3 =
QUESTION ON "Delphi"

EMSDN.COM