win32开发,点击ListView红框中的item, 怎么出现下拉框并选择框中的数据?

图片说明
下面我创建listview的部分代码
{
LPSTR pText[2] = { "InfoLog", "ErrLog"};
LVCOLUMN lvc;
int iCol;

lvc.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM;

for (iCol = 0; iCol < 2/*C_COLUMNS*/; iCol++)
{
    lvc.iSubItem = iCol;
    lvc.pszText = (LPSTR)pText[iCol];
    lvc.cx = 100;               // Width of column in pixels.

    if ( iCol < 2 )
        lvc.fmt = LVCFMT_LEFT;  // Left-aligned column.
    else
        lvc.fmt = LVCFMT_RIGHT; // Right-aligned column.

    if (ListView_InsertColumn(hWndListView, iCol, &lvc) == -1)
        return FALSE;
}

return TRUE;

}

能说详细些吗,有没有示例代码

listview本身没有这样的功能,可以创建一个隐藏的listbox,点击表头,移动到对应的位置,然后显示出来。