We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SendMessage

Did you guys figure out how to do SendMessage in C# other than doing a DllImport on user32.dll? You would think msft would provide a wrapper for this widely used call....

1 Reply

DJ Daniel Jebaraj Syncfusion Team September 14, 2004 09:04 AM

Hi, No, we use SendMessage just the same way. The .NET framework also uses SendMessage (declared in internal class UnsafeNativeMethods). public static extern IntPtr SendMessage(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam); Best regards, Daniel Syncfusion, Inc >Did you guys figure out how to do SendMessage in C# other than doing a DllImport on user32.dll? > >You would think msft would provide a wrapper for this widely used call.... >

Loader.
Live Chat Icon For mobile
Up arrow icon