Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
C# Emulate Keyboard Media Buttons
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Al
13y
10.9k
1
Reply
From my application I'm trying to emulate a keyboard press of the Media Play/Pause button ( System.Windows.Forms.Keys.MediaPlayPause ). I want this to act like the keyboard, when I use it it will pause Windows Media Player, or make it start playing again. Any idea how to go about that? I've tried using SendKeys.Send(), and tried to P/Invoke the keybd_event in user32.dll and no luck there.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Add rows Dynamically to gridView
Check for first time logon