public IntPtr SendMessage(IntPtr hwnd, UInt32 msg, IntPtr wParam, IntPtr lParam) { if (hwnd != IntPtr.Zero) { return(Win32Helpers.SendMessage(hwnd, msg, wParam, lParam)); } else { return(IntPtr.Zero); } }
public IntPtr SendMessage(UInt32 msg, IntPtr wParam, StringBuilder lParam) { IntPtr hwnd = Handle; if (hwnd != IntPtr.Zero) { return(Win32Helpers.SendMessage(hwnd, msg, wParam, lParam)); } else { return(IntPtr.Zero); } }