Thanks for your response, But problem is "When press mouse down(not high lining, not select)" have not select yet ?
--- On Mon, 3/9/09, Thomas Hruska <[email protected]> wrote: From: Thomas Hruska <[email protected]> Subject: Re: [c-prog] Crichedit or Cedit To: [email protected] Date: Monday, March 9, 2009, 7:41 PM wy737 wrote: > Hi, Someone can help me ? > > In Edit box have few line data or text. > > When press mouse down(not high lining, not select), > How to know cursor position or current line number ? > Thanks! CRichEditCtrl is MFC, so look at the documentation for GetSel(). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleS oft.com/MyTaskFo cus/ [Non-text portions of this message have been removed]
