//如果有人说win32api没用,我问他这道题不用api又怎么解决?
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Runtime.InteropServices;
namespace csTest
{
public class Form1 : System.Windows.Forms.Form
{
[DllImport("user32")]
public static extern bool GetCaretPos(ref System.Drawing.Point lpPoint);