Commit 4700b0bd authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

comctl32: Support LVCF_SUBITEM in LVM_GETCOLUMN.

parent 44afc448
......@@ -5223,6 +5223,9 @@ static BOOL LISTVIEW_GetColumnT(const LISTVIEW_INFO *infoPtr, INT nColumn, LPLVC
if (lpColumn->mask & LVCF_ORDER)
hdi.mask |= HDI_ORDER;
if (lpColumn->mask & LVCF_SUBITEM)
hdi.mask |= HDI_LPARAM;
if (!SendMessageW(infoPtr->hwndHeader, isW ? HDM_GETITEMW : HDM_GETITEMA, nColumn, (LPARAM)&hdi)) return FALSE;
if (lpColumn->mask & LVCF_FMT)
......@@ -5237,6 +5240,9 @@ static BOOL LISTVIEW_GetColumnT(const LISTVIEW_INFO *infoPtr, INT nColumn, LPLVC
if (lpColumn->mask & LVCF_ORDER)
lpColumn->iOrder = hdi.iOrder;
if (lpColumn->mask & LVCF_SUBITEM)
lpColumn->iSubItem = hdi.lParam;
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment