.NET CF and SendMessage
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I'm trying to use p/invoke in the .NET CF in order to create copy,paste and other operations. I use the following code: [DllImport("coredll.dll")] internal extern static int SendMessage(IntPtr Hwnd, int Msg, int WParam, int LParam); SendMessage(this.hwnd, (int)ClipboardMessage.WM_CUT, 0, 0); I noticed that the desired operation never happens! All other p/invoke I use work fine. Only the SendMessage does not work (I tried many other like WM_CHAR,WM_VSCROLL and more, nothing works) Thanks. avivhal