Anyone working on ListView?

Vitaliy Margolen wine-devel at
Thu Mar 13 01:15:50 CST 2003

Wednesday, March 12, 2003, 5:57:56 AM, you wrote:

> On March 12, 2003 12:40 am, Vitaliy Margolen wrote:
>> I got it figured out. At least for simplified case. I got a question:
>> tagLISTVIEW_INFO is our structure or it's MS defined one? If former, I can
>> add few more variables to it : maxHight and maxWidth - to track dimensions
>> of ListView. And update it every time on inserts and refreshes.
> Yes, it is our structure. But before you add them, why is it that
> LISTVIEW_GetAreaRect() does not work for you? It should compute
> the maxHeight and maxWidth correctly. If it doesn't, I'd rather
> prefer that we fix it (we may need the maxHeight and maxWidth
> variables to fix it properly, but I'd like to know why).
Never mind. I thought it was calling GetItem for every item in a ListView to
get it's position. Rather it accessing them directly.
I was thinking to optimize this part. If we store and update these variables
in the right places... But this gonna be a mess. Too many places that can change
position of an item. And what if it's removed?

You were right - I found the bug there. ;-)

>> Yes missing names are always the same one. One more interesting fact: if
>> directory missing name - all files in it don't have them neither.
> Some tracing here would be good. Somehow we probably don't do the
> callback right, but you have to investigate what the app expects.
So far no luck here. It could be related to TreeView. For whatever reason ACDSee
can't set proper path in TreeView. On Windows it opens up correct directory, even
if it's a network path.

Next thing: big icons. Something very screwy going on there. Looks to me like each
icon somehow gets huge. Even with scrolls fixed, I have both hor&vert bars set to
ridiculously big ranges.

More information about the wine-devel mailing list