The ReplaceSel() method replaces the current selection. "If there is no
current selection, the replacement text is inserted at the location of
the caret". More at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/editcontrols/editcontrols.asp
The MSDN control overviews always make good reading. For edit control's
find it at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/editcontrols/editcontrols.asp
Regards,
Rob.
Steven Lloyd wrote:
Is there a way with a textfield to insert text at the current cursor
position?
The cursor may be anywhere in the existing text....
Thanks,
Steve
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users