コード例 #1
0
        public void SendCommandMessage(TASKDIALOG_MESSAGES message, IntPtr wParam, IntPtr lParam)
        {
            if (this.WindowHandle == IntPtr.Zero)
            {
                throw new InvalidOperationException("windowHandle == null");
            }

            WindowsNativeMethods.SendMessage(this.WindowHandle, (uint)message, wParam, lParam);
        }
コード例 #2
0
 private static extern int SendMessage(IntPtr hwnd, TASKDIALOG_MESSAGES msg, int wParam, int lParam);
コード例 #3
0
 private void SendMessage(TASKDIALOG_MESSAGES msg, int wParam, int lParam)
 {
     SendMessage(hwnd, msg, wParam, lParam);
 }
コード例 #4
0
 private static extern int SendMessage(IntPtr hwnd, TASKDIALOG_MESSAGES msg, int wParam, int lParam);
コード例 #5
0
 private void SendMessage(TASKDIALOG_MESSAGES msg, int wParam, int lParam)
 {
     SendMessage(hwnd, msg, wParam, lParam);
 }