internal static extern System.IntPtr SendMessage(System.IntPtr hWnd, ComboBoxMessage uMsg, System.IntPtr wParam, string lParam);
Ejemplo n.º 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="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);
Ejemplo n.º 3
0
 public static extern IntPtr SendMessage(HWND hWnd, ComboBoxMessage Msg, int wParam, ref COMBOBOXINFO item);