Connecting Tech Pros Worldwide Forums | Help | Site Map

How do I adjust Audio volume using arrow keys on keyboard

dreamer
Guest
 
Posts: n/a
#1: Jul 17 '05
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.

Raoul Watson
Guest
 
Posts: n/a
#2: Jul 17 '05

re: How do I adjust Audio volume using arrow keys on keyboard



"dreamer" <nobody@nowhere.com.au> wrote in message
news:g89ma0hf0tnu3sclhqtu0rc6rg2c669dao@4ax.com...[color=blue]
> 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).


dreamer
Guest
 
Posts: n/a
#3: Jul 17 '05

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
Raoul Watson
Guest
 
Posts: n/a
#4: Jul 17 '05

re: How do I adjust Audio volume using arrow keys on keyboard



"dreamer" <nobody@nowhere.com.au> wrote in message
news:n5eoa013965kjovn7cclepc678cnbrcaee@4ax.com...[color=blue]
> On Thu, 20 May 2004 00:04:28 GMT, "Raoul Watson"
> <WatsonR@IntelligenCIA.com> wrote:
>[color=green]
> >
> >"dreamer" <nobody@nowhere.com.au> wrote in message
> >news:g89ma0hf0tnu3sclhqtu0rc6rg2c669dao@4ax.com.. .[color=darkred]
> >> 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[/color][/color]
the[color=blue][color=green]
> >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[/color][/color]
multimedia[color=blue][color=green]
> >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[/color]

Understood. I used to write educational programs and am very aware of
special needs. You can e-mail me your e-mail address and I will send you the
code (it's too big to post here).


Closed Thread