How to stop scrolling in a virtual (LVS_OWNERDATA) listview in LVS_REPORT mode when using changing t
- by David L Morris
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?