Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
| Search | Today's Posts | Mark Forums Read
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 21st, 2006, 04:03 AM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default anyone know how to use trackBar to control volume

i wanna to anyone know how to use trackBar to control volume, there is a function waveOutSetVolume(int deviceID, int Volume),here how can i use deviceid,what is stands for, and i wanna to set the parameter volume by the value from trackBar, thus to control the volume by the value of trackBar,i write like:
 waveOutSetVolume(0, this.trackBar1.Value * 65537); but it doesn't work,
anyone know how to use? thank u in advance.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Trackbar to a ToolStrip Bendixen BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 August 1st, 2008 04:57 PM
volume control for embedded audio in dreamweaver julien balmer Dreamweaver (all versions) 0 September 30th, 2006 07:50 AM
volume control for embedded audio in dreamweaver julien balmer Dreamweaver (all versions) 0 September 30th, 2006 07:48 AM
Trackbar (slider) in asp.net pchocola Classic ASP Components 1 March 18th, 2005 07:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.