110,534
社区成员
发帖
与我相关
我的任务
分享
using System.Runtime.InteropServices;
const Int32 WM_LBUTTONDBLCLK = 0x0203;
[DllImport("User32.dll", EntryPoint = "SendMessage")]
public static extern int SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam);
……
SendMessage(hwnd, WM_LBUTTONDBLCLK, (IntPtr)0, (IntPtr)0);