forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Horizontal scrollbar on a combo element?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Thu Sep 25, 2003 2:47 pm    Post subject: Horizontal scrollbar on a combo element? Reply with quote

I have tried the code for putting a horizontal scrollbar on a list dialog element and it works.

I tried it on my combo element, and it doesn't work. Does anyone know if it is possible to add a horizontal scroll to the dropdown part of a combo element?

_________________
Joe Floyd
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Thu Sep 25, 2003 2:53 pm    Post subject: Reply with quote

jwfv,
You can use the %%CB_SETHORIZONTALEXTENT = $15E which works the same as the message ID for the listbox element. The only thing is that if VDS uses the CBS_DISABLENOSCROLL style for the combo element this message will not work. But you can try it Smile

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Thu Sep 25, 2003 3:38 pm    Post subject: Reply with quote

I don't know much about API programming. I changed the hex amount in the earlier example to the new value you gave, but it didn't seem to work. Did I do it correctly? Maybe VDS uses the code you mentioned, and this solution won't work.

Code:
%A = @sendmsg(@winexists(~combo1),$15E,200,0)

_________________
Joe Floyd


Last edited by jwfv on Thu Sep 25, 2003 6:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Thu Sep 25, 2003 4:22 pm    Post subject: Reply with quote

Joe,
Is the number 200 in the @sendmsg line that you posted wider than your combo box?

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Thu Sep 25, 2003 6:04 pm    Post subject: Reply with quote

It was - but I changed it to be the same as the combo and then changed it to less than the combo box, but it never showed up.
_________________
Joe Floyd
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group