设置光标位置

void CTxtView::OnLButtonDown(UINT nFlags, CPoint point)
{
 // TODO: Add your message handler code here and/or call default
 SetCaretPos(point); 
 CView::OnLButtonDown(nFlags, point);

你可能感兴趣的:(设置光标位置)