Win32: What are the low level artifacts used in ListView and TreeView

Harshithraj1871 1,686 Reputation points
2022-10-17T07:16:13.703+00:00

Hi,

I'm trying to understand ListView and TreeView. As ListView and TreeView are complex control types, I wanted to understand what are the low-level artifacts used in building them.

In HeaderView's documentation, I found that the list view already has the HeaderView, Instead of creating a header control for a list-view control, we can use LVM_GETHEADER or ListView_GetHeader to retrieve the existing control.

Like this, I wanted to know what are all the low-level artifacts used in ListView and TreeView.

And it would be of great help if you could point me to the right documentation where I can find the low-level artifacts used in building for all control types like HeaderView, etc.

Windows development | Windows API - Win32
Developer technologies | C++
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 90,686 Reputation points
    2022-10-17T08:02:51.227+00:00

    There is nothing special vs other Common Controls
    A ListView has just a Header control as child
    Both draw everything in WM_PAINT

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. RLWA32 49,636 Reputation points
    2022-10-17T08:03:27.347+00:00

    You can find links to the documentation for the various Windows controls here individual-control-info.

    In addition to the detailed reference information each control's documentation also includes helpful overviews.

    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.