Information générale
Catégorie:
Codage, syntaxe et commandes
However calculating the coordinates from the SelStart and SelLength properties is complicated. I wonder if there is an API similar to the GetCaretPos() API to make the job simplier.
KM
>>I use GetCaretPos() to find the position of the Windows cursor. It works only when no text is selected. How can I find the coordinates of the selected text in an Editbox?
>>
>>TIA
>>KM
>
>See properties .SelStart and .SelLength.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement