Go Back   CodingForums.com > :: Computing & Sciences > Computer/PC discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-14-2013, 12:41 PM   PM User | #1
JDfromScrubs
New to the CF scene

 
Join Date: Feb 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
JDfromScrubs is an unknown quantity at this point
Question Beginner Question: Create simple custom UI element?

Hello all,

I'm new here and to learning about computers in general. Taking a Computer Science course, couple online classes, trying to self-educate, broaden my horizons, all that good stuff. Never had a computer of my own up until recently, so I'm pretty excited to learn anything and everything I can.

My question for you guys (and I apologize in advance if I posted this in the wrong place) is how would a novice such as myself go about creating a UI element attached to volume control?

For example, my laptop (or netbook, I should say--HP Mini 110-3030NR running Win7 Starter x32) has three built-in volume keys (which also function as F9-11 when the 'fn' key is held): one for decreasing the volume, another for increasing, and the third for toggling mute.

Now, these keys function well enough as they are, however, I was thinking how much more convenient it would be if I were able to make it so that the current volume appears on the screen briefly (at the bottom for a half-second or two, perhaps--something along the lines of how an iPhone's display behaves when the volume is adjusted or silent switch is toggled, just maybe not smack-dab in the middle of the screen, haha) whenever I decrease/increase volume (maybe also have some sort of 'cancel' symbol imposed over a 'speaker' symbol appear when I toggle the mute and have the speaker symbol appear by itself when mute is untoggled).

So, again, my question is, how would I begin going about creating a program or whatever you might call something like this to perform this function. I've seen other laptops with this functionality built in--mine doesn't have this obviously, but I'd like to do it myself.

Doesn't have to be anything fancy, either--I'm already running the OS at the 'ugliest' possible settings to compensate for the fact that my system doesn't exactly have a terrible amount of power/memory.

Thanks in advance for any help anyone might be able to offer!
--J.D.

Last edited by JDfromScrubs; 02-14-2013 at 12:44 PM..
JDfromScrubs is offline   Reply With Quote
Old 02-24-2013, 07:16 AM   PM User | #2
Celtboy
Regular Coder

 
Join Date: May 2002
Location: Virginia, USA
Posts: 620
Thanks: 0
Thanked 6 Times in 6 Posts
Celtboy is an unknown quantity at this point
Well, in whatever language you chose (.NET is a good start), you'd have need to either hook into the keybinding for that key, or hook into Windows Sound API and then display some type of HUD. Neither of which are exceptionally easy or appropriate for this forum (should be in programming).

Your other option would be to use something someone else has already created:
http://www.addictivetips.com/windows...r-for-windows/ for instance.
Celtboy is offline   Reply With Quote
Reply

Bookmarks

Tags
system, ui element, volume, win7, windows 7

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:16 AM.


Advertisement
Log in to turn off these ads.