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

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

Sigh.

I see it now, I hadn't read *all* of the short demo Derek sent Judith,
namely the part where he *did* programmatically compute the length of the
longest line & then used
LB_SETHORIZONTALEXTENT, just like you suggested.

Dan

----- Original Message -----
From: "George Walters" <gwalters at sc.rr.com>
To: "EUforum" <EUforum at topica.com>
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: DANIELMOYER at prodigy.net

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

Search



Quick Links

User menu

Not signed in.

Misc Menu