Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [DllImport("User32.dll")]
- public static extern void SendMessage(IntPtr hWnd, int uMsg, int wParam);
- public static void Pac()
- {
- System.Threading.Thread.Sleep(2000);
- var dHWnd = FindWindow(null, "Открыть");
- SendMessage(dHWnd, 0x0102, 0x41);
- }
Add Comment
Please, Sign In to add comment