SendMessage for C#
How in C# to send messages to different windows as in c++(SendMessage) for example wm_size?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sateesh ArvetiPosted Mar 20, 2009, 3:42 AM
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]
static extern IntPtr SendMessage(IntPtr hWnd, Int32 Msg, IntPtr wParam, IntPtr lParam);
Vitaliy KurlovPosted Mar 20, 2009, 4:59 AM