开发者

Delphi Volume control by keyboard

I recently had to replace a keyboard and this one ( GE 98552 ) does not have programmable buttons along the top and I miss the up/down volume buttons. it开发者_如何学Go has 9 special buttons but none for volume and this model is not programmable. DUH!

I am a long-time Delphi programmer but never messed with the multimedia stuff.

Can anyone suggest some code to assign to say the "+" and "-" keys on the numeric pad that will change the volume up and down? I never use those two buttons so I would not be giving up functionality.

Thanks

Frank


one idea: you can create a small app. that registers global hotkeys(let's say ctrl+num + and ctrl+num -) that will modify volume, hope this helps to some degree... I also ran across this code http://www.delphitricks.com/source-code/multimedia/change_the_sound_cards_volume.html but I can't test it right now... and to register/unregister global hot key http://www.delphidabbler.com/tips/16

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜