Article View: microsoft.public.win32.programmer.ui
Article #3Also....
From: Brian Ellis
Date: Thu, 05 Apr 2001 17:23
Date: Thu, 05 Apr 2001 17:23
33 lines
2169 bytes
2169 bytes
Here is some more information. The list view is an OwnerData style listview, and asks it's parent control for item information. I use either LVM_ENSUREVISIBLE, or the equivalent macro, to get item index 3 to show in the list view. When I monitor the LVN_GETDISPINFO calls, in which the listview asks it's parent edit for item information, the item indexes for which information is requested are as follows: on form creation: 0, 3 on creation of the listview: 3, 2, 3, 3, 4, 4, 5 The listview never requests information for item index 1. Displayed in the listview are, from top to bottom, indexes: 0, 3, 2, 3, 4, 5, 5 More questions: shouldn't the listview request info for item index 1? shouldn't the listview be 'smart' enought not to display the same item twice?
Technical Details
Message-ID:
<VR1z6.147$kg.3130@news2.mts.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-out.cwix.com!newsfeed.cwix.com!news-in.mts.net!news2.mts.net.POSTED!not-for-mailReferences:
<hGHy6.107$kg.2395@news2.mts.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1091e5,282e27e37b2ad713 X-Google-Attributes: gid1091e5,public X-Google-Thread: f7033,282e27e37b2ad713 X-Google-Attributes: gidf7033,public X-Google-Thread: 110c1b,282e27e37b2ad713 X-Google-Attributes: gid110c1b,public X-Google-Thread: 10461f,282e27e37b2ad713 X-Google-Attributes: gid10461f,public X-Google-ArrivalTime: 2001-04-05 10:20:07 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-out.cwix.com!newsfeed.cwix.com!news-in.mts.net!news2.mts.net.POSTED!not-for-mail From: "Brian Ellis" <brian@getintouch.ca> Newsgroups: microsoft.public.win32.programmer.ui,microsoft.public.win32.programmer,comp.os.ms-windows.programmer.controls,borland.public.delphi.winapi References: <hGHy6.107$kg.2395@news2.mts.net> Subject: Also.... Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: <VR1z6.147$kg.3130@news2.mts.net> Date: Thu, 05 Apr 2001 17:23:01 GMT NNTP-Posting-Host: 64.59.130.155 X-Complaints-To: admin@mts.net X-Trace: news2.mts.net 986491381 64.59.130.155 (Thu, 05 Apr 2001 12:23:01 CDT) NNTP-Posting-Date: Thu, 05 Apr 2001 12:23:01 CDT Organization: MTS Internet