Go Back   DriverHeaven.net > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Bug Reports

Notices

Reply
 
LinkBack Thread Tools Display Modes
Old Jun 19, 2006, 12:25 PM   #1 (permalink)
Russ
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 3,913
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

hfader in SDK...

The hfader (horizontal kfader) in the SDK should have some way of specifying the width of it's edit control. You can currently specify the label width, but not the width of the edit control that shows the slider's value, and often it is not wide enough to show the value properly.

I am guessing that it calculates the initial size based on the range given when the slider is created (or maybe it uses a fixed size), but, often those values are not the values that are displayed.

i.e.
A range of -1000 to 1000 (used to create the slider) is often displayed as -10.00 to 10.00, and the text often gets cut off.

I suggest adding a parameter to the create_hfader function where you can specify the max number of characters for the edit control, and use that value to size the edit control (and position the slider, etc) when the hfader is created.

Last edited by Russ; Jun 20, 2006 at 09:32 AM.
Russ is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 06:57 AM. Copyright ©2008 DriverHeaven.net