示例#1
0
 internal static void Send_BMCLICK(System.IntPtr hWnd)
 {
     if (!IsWindowDisabled(hWnd))
     {
         Win32NativeMethods.SetActiveWindow(hWnd);
         Win32NativeMethods.SendMessage(hWnd, ButtonControlMessage.BM_CLICK, System.IntPtr.Zero, System.IntPtr.Zero);
     }
 }