Re: ListView Column Width

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

Jon,

I haven't used ListView, but a look at the ListView demo suggests that you
just put a column width in the ListView creation after the text; I changed
the "180" after "Library" to "80", and it gave a narrower column (don't know
what the '<' & '^' are all about, though):

LV = create(   ListView,
                { {"Library",180,'<'}, {"Author",116,'^'} },
                Win,
                320,
                40,
                300, --CW_USEDEFAULT,
                300, --CW_USEDEFAULT,
                or_all({LVS_REPORT, LVS_SHOWSELALWAYS}))

Dan Moyer

----- Original Message -----
From: "Jon Snyder" <jongsnyder at hotmail.com>
To: "EUforum" <EUforum at topica.com>
Sent: Sunday, May 26, 2002 10:47 AM
Subject: ListView Column Width


>
>
> When using a listview with Win32lib how can you adjust the width of the
> columns from the program?  It would be great to see an example.
>
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu