| re: How do I adjust Audio volume using arrow keys on keyboard
On Thu, 20 May 2004 00:04:28 GMT, "Raoul Watson"
<WatsonR@IntelligenCIA.com> wrote:
[color=blue]
>
>"dreamer" <nobody@nowhere.com.au> wrote in message
>news:g89ma0hf0tnu3sclhqtu0rc6rg2c669dao@4ax.com.. .[color=green]
>> I am making a program for a friend with a disability.
>> I need to adjust his audio volume using the keyboard as he cannot use
>> a mouse.
>>
>> Any suggestions as to how I can raise the volume using the up arrow on
>> the keyboard and decrease the volume using the down arrow?
>>
>> I am using VB 5.
>>
>> Many thanks in advance.[/color]
>
>I am not sure if you need to do anything special. The volume control app
>(Accesories => Volume Control) works exactly the way you want it. When the
>focus is on the balance, left right arrows move the balance accordingly.
>When the focus is on the volume slider, the up and down arrows works
>intuitively as well.
>
>I am not a proponent on taking over the system's setting unless you will
>restore it on the way out.
>
>If you insist on doing it programatically, you'll need to use the multimedia
>mixer control api (winmm.dll).
>[/color]
I need to have my application keeping full control.
It is for a friend with serious disabilities and he cannot use a
mouse, only a keyboard with difficulty. I use the keyboard to speak
for him and need for him to be able to easily adjust the volume up and
down without opening other progs as he gets stuck and can't get back
to his program. Each hand movement is very "clumsy" and difficult.
Thanks |