win32怎样响应ListView的按钮点击

图片说明
这个控件没有id,case WM_COMMAND 里没法做响应,不知道咋办。
下面是我创建ListView控件代码。
LPSTR pText[2] = { "InfoLog", "ErrLog"};
LVCOLUMN lvc;
int iCol;

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

// Add the columns.
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;
}

处理 LVN_COLUMNCLICK
http://mmm2010.blog.163.com/blog/static/174230348201111210374168/

https://msdn.microsoft.com/en-us/library/system.windows.forms.listview.columnclick(v=vs.110).aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-2