المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : C# Multimedia controls [resolved]



C# Programming
04-12-2009, 03:41 PM
Hy!

I have multimedia keys on my laptop, just like most of us. These keys make Winamp/iTunis/GOMPlayer and so play/pause, etc. I want to make an application that does just the same: makes multimedia applications play/pause, stop, etc.

Now as these keys work with more applications I suppose (though not sure) that they use a built-in .NET API or some other Windows functionality hidden in some DLL somewhere rather then controlling the hotkeys of the individual applications.

I want my application to be PC model independent, I don't mind having it only Vista compatible.

So can anyone recommend a good starting point, library, class or anything in fact that could get me started. I don't (really) need all of the code to be written for me, I just need something to get me started.

Thanks!

modified on Saturday, April 11, 2009 2:49 PM

For those who are reading the first post: original introductory sentence was: "I have multimedia keys on my laptop, just like most of us.", hence the discussions. Edited later not to upset all the "sensible" people around here.

And in fact whether you have or not multimedia keys on your keyboard/laptop is not even important as I am looking for a software solution that would make all commonly used media players controllable by software, via OS specific commands (if any) even on system without MM keys.


RESOLVED: Global Mouse and Keyboard Library (http://www.codeproject.com/KB/system/globalmousekeyboardlib.aspx)[^ (http://www.codeproject.com/KB/system/globalmousekeyboardlib.aspx)] also simulates MultiMedia Key press events.

modified on Sunday, April 12, 2009 7:10 AM