コード例 #1
0
 /// <summary>
 /// Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.
 /// </summary>
 /// <param name="hWnd">A handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST ((HWND)0xffff), the message is sent to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not sent to child windows.</param>
 /// <param name="Msg">The message to be sent.</param>
 /// <param name="wParam">Additional message-specific information.</param>
 /// <param name="progressRange">Additional message-specific information.</param>
 /// <returns>The return value specifies the result of the message processing; it depends on the message sent.</returns>
 public static IntPtr SendMessage(HandleRef hWnd, ProgressMessage Msg, bool wParam, ref PBRANGE progressRange) => User32_Gdi.SendMessage(hWnd, Msg, wParam, ref progressRange);
コード例 #2
0
 /// <summary>
 /// Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return
 /// until the window procedure has processed the message.
 /// </summary>
 /// <param name="hWnd">
 /// A handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST ((HWND)0xffff), the message is sent to
 /// all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not
 /// sent to child windows.
 /// </param>
 /// <param name="Msg">The message to be sent.</param>
 /// <param name="wParam">Additional message-specific information.</param>
 /// <param name="splitInfo">Additional message-specific information.</param>
 /// <returns>The return value specifies the result of the message processing; it depends on the message sent.</returns>
 public static IntPtr SendMessage(HandleRef hWnd, ButtonMessage Msg, int wParam, ref BUTTON_SPLITINFO splitInfo) => User32_Gdi.SendMessage(hWnd, Msg, wParam, ref splitInfo);
コード例 #3
0
 /// <summary>
 /// Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return
 /// until the window procedure has processed the message.
 /// </summary>
 /// <param name="hWnd">
 /// A handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST ((HWND)0xffff), the message is sent to
 /// all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not
 /// sent to child windows.
 /// </param>
 /// <param name="Msg">The message to be sent.</param>
 /// <param name="wParam">Additional message-specific information.</param>
 /// <param name="imageList">Additional message-specific information.</param>
 /// <returns>The return value specifies the result of the message processing; it depends on the message sent.</returns>
 public static IntPtr SendMessage(HandleRef hWnd, ButtonMessage Msg, int wParam, ref BUTTON_IMAGELIST imageList) => User32_Gdi.SendMessage(hWnd, Msg, wParam, ref imageList);
コード例 #4
0
 /// <summary>
 /// Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.
 /// </summary>
 /// <param name="hWnd">A handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST ((HWND)0xffff), the message is sent to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not sent to child windows.</param>
 /// <param name="Msg">The message to be sent.</param>
 /// <param name="wParam">Additional message-specific information.</param>
 /// <param name="balloonTip">Additional message-specific information.</param>
 /// <returns>The return value specifies the result of the message processing; it depends on the message sent.</returns>
 public static IntPtr SendMessage(HandleRef hWnd, EditMessage Msg, int wParam, ref EDITBALLOONTIP balloonTip) => User32_Gdi.SendMessage(hWnd, Msg, wParam, ref balloonTip);
コード例 #5
0
 /// <summary>
 /// Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return
 /// until the window procedure has processed the message.
 /// </summary>
 /// <param name="hWnd">
 /// A handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST ((HWND)0xffff), the message is sent to
 /// all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not
 /// sent to child windows.
 /// </param>
 /// <param name="Msg">The message to be sent.</param>
 /// <param name="wParam">Additional message-specific information.</param>
 /// <param name="item">Additional message-specific information.</param>
 /// <returns>The return value specifies the result of the message processing; it depends on the message sent.</returns>
 public static IntPtr SendMessage(HandleRef hWnd, ComboBoxMessage Msg, int wParam, ref COMBOBOXINFO item) => User32_Gdi.SendMessage(hWnd, Msg, wParam, ref item);
コード例 #6
0
 /// <summary>
 /// Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.
 /// </summary>
 /// <param name="hWnd">A handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST ((HWND)0xffff), the message is sent to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not sent to child windows.</param>
 /// <param name="Msg">The message to be sent.</param>
 /// <param name="wParam">Additional message-specific information.</param>
 /// <param name="hitTestInfo">Additional message-specific information.</param>
 /// <returns>The return value specifies the result of the message processing; it depends on the message sent.</returns>
 public static IntPtr SendMessage(HandleRef hWnd, EditMessage Msg, int wParam, ref TTHITTESTINFO hitTestInfo) => User32_Gdi.SendMessage(hWnd, Msg, wParam, ref hitTestInfo);
コード例 #7
0
 /// <summary>
 /// Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.
 /// </summary>
 /// <param name="hWnd">A handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST ((HWND)0xffff), the message is sent to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not sent to child windows.</param>
 /// <param name="Msg">The message to be sent.</param>
 /// <param name="wParam">Additional message-specific information.</param>
 /// <param name="toolInfo">Additional message-specific information.</param>
 /// <returns>The return value specifies the result of the message processing; it depends on the message sent.</returns>
 public static IntPtr SendMessage(HandleRef hWnd, EditMessage Msg, int wParam, ref TOOLINFO toolInfo) => User32_Gdi.SendMessage(hWnd, Msg, wParam, ref toolInfo);
コード例 #8
0
 /// <summary>
 /// Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.
 /// </summary>
 /// <param name="hWnd">A handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST ((HWND)0xffff), the message is sent to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not sent to child windows.</param>
 /// <param name="Msg">The message to be sent.</param>
 /// <param name="wParam">Additional message-specific information.</param>
 /// <param name="title">Additional message-specific information.</param>
 /// <returns>The return value specifies the result of the message processing; it depends on the message sent.</returns>
 public static IntPtr SendMessage(HandleRef hWnd, EditMessage Msg, int wParam, ref TTGETTITLE title) => User32_Gdi.SendMessage(hWnd, Msg, wParam, ref title);