SysListView32 LVS_ICON LVS_OWNERDATA and a search-by-keyboard problem

5 views
Skip to first unread message

R.Wieser

unread,
Jun 6, 2021, 12:19:52 PMJun 6
to
Hello all,

I've got a listview in LVS_ICON and LVS_OWNERDATA mode. The problem is
that grabbing all "icons" in view and actually displaying them costs a bit
of time, which interrupts the search-by-keyboard capabilities of the
listview. In other words:

When I type the first character the LVN_ODFINDITEM notification is send
*with that single character*, causing the listview to update itself (taking
some time) - and than accept what *should* be the the next character as a
first character again.

IOW, I can only search for the first character of the "filename". :-(

The/my question:
Is there a build-in method to hold-off the LVN_ODFINDITEM notification
message until no key has been pressed for some time (allowing it to gather
more than one typed character) ?

Regards,
Rudy Wieser


R.Wieser

unread,
Jun 6, 2021, 12:51:07 PMJun 6
to

> The/my question:
> Is there a build-in method to hold-off the LVN_ODFINDITEM notification
> message until no key has been pressed for some time (allowing it to gather
> more than one typed character) ?

.. or perhaps increase the time-out of the involved listview so its a bit
longer than the time it takes to redraw its contents (so it will append the
second+ chars to the first) ...

Regards,
Rudy Wieser


Reply all
Reply to author
Forward
0 new messages