diff options
author | John Ankarström <john@ankarstrom.se> | 2022-04-04 01:20:30 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-04-04 01:20:30 +0200 |
commit | 12176831abde1f4545fae95ee9edd5688f8cc584 (patch) | |
tree | 4591be39e96b4deb4f45072808be48724e84108e /c/main.c | |
parent | d77a1f32a0ea391628a6c43dcfe02f648f1ae488 (diff) | |
download | EpisodeBrowser-12176831abde1f4545fae95ee9edd5688f8cc584.tar.gz |
Remove column headers from data list view.
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); |