• SysListView32 LVS_ICON LVS_OWNERDATA and a search-by-keyboard problem

    From R.Wieser@21:1/5 to All on Sun Jun 6 18:19:39 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From R.Wieser@21:1/5 to All on Sun Jun 6 18:51:02 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)