How to stop scrolling in a virtual (LVS_OWNERDATA) listview in LVS_REPORT mode when using changing t

Posted by David L Morris on Stack Overflow See other posts from Stack Overflow or by David L Morris
Published on 2010-04-13T02:39:11Z Indexed on 2010/04/13 2:42 UTC
Read the original article Hit count: 423

Filed under:
|

Win32 Virtual listviews (LVS_REPORT view) created with the LVS_OWNERDATA style are supposed not to scroll when LVSICF_NOSCROLL is used in the LVM_SETITEMCOUNT message or ListView_SetItemCountEx macro, according the MSDN documentation.

However, this doesn't seem work, and the list-view scrolls regardless of the use of LVSICF_NOSCROLL.

In these sorts of cases, 99% of the time it is something I have done incorrectly or overlooked. But, I've now run out of options.

Have I missed something?

© Stack Overflow or respective owner

Related posts about win32

Related posts about listview