Re: [Win32Lib][IDE] hScroll list box?
- Posted by Derek Parnell <ddparnell at bigpond.com> Dec 23, 2002
- 466 views
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