Re: [Win32Lib][IDE] hScroll list box?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thanks George and Dan.

I've added a new routine to the library to help with this. If you call
setListHScroll(), it will calculate the correct value for the horizontal
scroll size and set it for the list box. The idea will be to call this after
you have added one or more items to the list.

----------------
cheers,
Derek Parnell
----- Original Message -----
From: "George Walters" <gwalters at sc.rr.com>
To: "EUforum" <EUforum at topica.com>
Sent: Monday, December 23, 2002 11:17 PM
Subject: Re: [Win32Lib][IDE] hScroll list box?



Dan, this does it for me.

constant LB_SETHORIZONTALEXTENT = 404  -- displayWidth signal value
atom jk jk=sendMessage(idList,LB_SETHORIZONTALEXTENT,displayWidth+3,0) --
set hscroll bar and display width

george
----- Original Message -----
From: Dan Moyer
To: EUforum
Sent: Monday, December 23, 2002 12:47 AM
Subject: [Win32Lib][IDE] hScroll list box?



Say an item in a list box is longer than the width of the list box, so it
doesn't all show; is there a way to make the list box scroll horizontally,
like is automatically provided for in a TreeView?  (I'd rather not size the
list box to make everything show.)

Dan Moyer

==^^===============================================================
This email was sent to: ddparnell at bigpond.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu