title: ListView with LVS_OWNERDATA flag
body: <p>I want to make a CListView that will read his rows from e remote server using socket. The rows may be more than a million that's why i need to read rows only when I need them and may be read them in a groups (with more that 1 row per request). I also need to support sorting by rows.</p>
  
  <p>May be I have to use List Control with LVS_OWNERDATA flag? And when I have to read another one group of rows? Do I need a Prev, Next buttons like if it was a web page grid?</p>
  
  <p>Can you please give me some advice?</p>
  
  <p>Best Regards</p>
  
  <p>P.S. But there is another problem that I have ... CListView is in the main UI thread, but I can request rows only from the second thread which may not always be available for using.</p>
  
  <p>May be I have to block UI thread in callback for rows information?</p>
  
  <p>And is there a way that I can block ListView for asking for a new rows information? May be disable it until my second thread is busy?</p>