ReplaceSel() replaces the current selection, if nothing is selected, the
text is
inserted at the current cursor position...
--
Dirk Bohnemeyer
p.s. For e-mail remove one of the 'o's from my address.
-------------------------------------------------------
Quote:
>Hi All!
>Quick question here (probably just me being daft)...
>I want to insert some text at the current cursor position in a CEdit
control
>but dont know how to get the cursor position within the control (single
line
>mode).
>Has anyone got any ideas?
>Please Help me
>E- MAIL ADDRESS