aboutsummaryrefslogtreecommitdiff
path: root/c/main.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-04-04 01:20:30 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-04-04 01:20:30 +0200
commit12176831abde1f4545fae95ee9edd5688f8cc584 (patch)
tree4591be39e96b4deb4f45072808be48724e84108e /c/main.c
parentd77a1f32a0ea391628a6c43dcfe02f648f1ae488 (diff)
downloadEpisodeBrowser-12176831abde1f4545fae95ee9edd5688f8cc584.tar.gz
Remove column headers from data list view.
Diffstat (limited to 'c/main.c')
-rw-r--r--c/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/main.c b/c/main.c
index eaca8f3..cf9818a 100644
--- a/c/main.c
+++ b/c/main.c
@@ -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);