KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using WPF and I imported the System.Windows.Form reference. Here's my code: Process[] process = Process.GetProcessesByName("wmplayer"); SetForegroundWindow(process[0].MainWindowHandle); Thread.Sleep(200); System.Windows.Forms.SendKeys.Send("^p"); The Windows Media Player do Focus, but no keystroke is Received. Why?
Tags (comma-separated)
Save Edits
Cancel