I am trying to use PostMessage to send a tab key. Here is my开发者_运维问答 code: // This class allows us to send a tab key when the the enter key
I\'ve looked at sites and MSDN documentation but I still don\'t understand the last pa开发者_StackOverflow中文版rameter of PostMessage().
Here is my prototype: [DllImport(\"user32.dll\", CharSet = CharSet.Auto)] public static extern bool PostMessage(int hhwnd, uint msg, IntPtr wparam, IntPtr lparam);
I am developing an application using C# having similar functionality of copy,paste as in Windows. I have added menu items and linked with respective applications.
I have created a UI thread. I m posting message to the UI thread which will write data in a file. I am using PostThreadMessage API to post the message to User thread. My Problem is it\'s not writing