Skip to content

Enhancement: Show full path upon listview-hover #3

Description

@Gewerd-Strauss

Hello,

yet another suggested enhancement to this. I would do this myself, bu unfortunately I don't know how to do so in V2 - I simply don't have the experience for this.

When opening the GUI, the directory-entries can be hard to read if you have a lot of hits in deeply nested folders (or just long folder names).
A conceptually simple fix to this would be to detect whether or not the mouse is hovering over the listview-control. If it is, retrieve the elements of the row hovered-upon, and display them in a tooltip. A V1-implementation was described here. Obviously I have no overview if this can be ported, but I want to at least note it here.

In simple steps (non-exhaustive, just a summary of how I did remember doing it, in accordance with the post linked above):

  1. Enable DetectHiddenWindows
  2. add options +LV0x400 +LV0x10000 to the LV-definition
  3. capture the LV's HWND
  4. Get the ListView's ToolTip control hwnd
  5. Populate the LV via LV_Add()
  6. set LV_EX_SetTileViewLines(hlistview, 2, 310) & LV_EX_SetTileInfo(hlistview, 0, 2, 4) (I really don't recall why this is done, caution)
  7. set an onmessage-handler onto message 0x4E to retrieve the right strings from the hovered-upon LV, assemble it into a message and display it via proper dllcalls.

Could this/something similar be implemented?

Once again, thank you for this utility.

Sincerely,
~Gw

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions