m_count should match ListView_GetItemCount
Micah
micahc at gmail.com
Thu Nov 2 10:38:25 PST 2006
It appears that calling SetWindowStyleFlag to change the control to a
virtual one from a non-virtual one doesn't work. Perhaps the
documentation could be updated to reflect this?
Vadim Zeitlin wrote:
> On 1 Nov 2006 15:30:11 -0800 Micah <micahc at gmail.com> wrote:
>
> M> When I step through the code line at a time I can see that
> M> SendMessage(..., LVM_SETITEMCOUNT, ...) is returning 1 (according to
> M> MSDN this means success) but then 3 lines later SendMessage(...,
> M> LVM_GETITEMCOUNT, ...) is returning 0, indicating that no items are
> M> set.
> M>
> M> Anyone have any idea why LVM_SETITEMCOUNT isn't setting the number of
> M> items?
>
> Not really, no. Does the same problem happen in the listctrl sample if you
> switch to virtual view?
>
> Regards,
> VZ
>
> --
> TT-Solutions: wxWidgets consultancy and technical support
> http://www.tt-solutions.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
More information about the wx-users
mailing list