Inserted a missing call to SetWindowPos(). With this change the header

control is visible again in list views with report style.
This commit is contained in:
Martin Fuchs 2000-05-24 03:33:05 +00:00 committed by Alexandre Julliard
parent 24c3c5ed87
commit 0b5642160c
1 changed files with 3 additions and 0 deletions

View File

@ -7187,6 +7187,9 @@ static VOID LISTVIEW_UpdateSize(HWND hwnd)
hl.prc = &rcList;
hl.pwpos = ℘
Header_Layout(infoPtr->hwndHeader, &hl);
SetWindowPos(wp.hwnd, wp.hwndInsertAfter, wp.x, wp.y, wp.cx, wp.cy, wp.flags);
if (!(LVS_NOCOLUMNHEADER & lStyle))
{
infoPtr->rcList.top = max(wp.cy, 0);