///////////////////////////////////// // @mfunc menu handler - goto to a character position in the control // @rvalue void | not used // void CScintillamfcView::OnOptionsGotoline() { CGotoLineDlg dlg; dlg.m_nLine = m_wndScintilla.GetCurrentLine(); if (dlg.DoModal() == IDOK) { m_wndScintilla.GotoLine(dlg.m_nLine); m_wndScintilla.SetFocus(); } }
void CDebuggerView::OnDbGotoline() { CGotoLineDlg dlg; dlg.DoModal(); ::SetFocus(m_editor.GetWindowHandle()); }