diff options
Diffstat (limited to 'c/main.c')
-rw-r--r-- | c/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -125,7 +125,7 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { LPMINMAXINFO lpMMI = (LPMINMAXINFO)lParam; extern HWND HDlv; - lpMMI->ptMinTrackSize.y = LvHeight(HDlv)+80; + lpMMI->ptMinTrackSize.y = LvHeight(HDlv, 0)+80; break; } case WM_THEMECHANGED: @@ -314,7 +314,7 @@ UpdateLayout() /* Resize data list view. */ hDlv = GetDlgItem(HWnd, IDC_DATALISTVIEW); - cyDlv = rc.bottom - LvHeight(hDlv); + cyDlv = rc.bottom - LvHeight(hDlv, 0); MoveWindow(hDlv, 0, cyDlv, rc.right, rc.bottom, TRUE); cxColumn = ListView_GetColumnWidth(hDlv, 0); |