|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Call this function to get the starting and ending character positions of the current selection (if any) in an edit control, using either the return value or the parameters.
Reference to an integer that will receive the position of the first character in the current selection.
Reference to an integer that will receive the position of the first nonselected character past the end of the current selection.