diff options
author | John Ankarström <john@ankarstrom.se> | 2022-02-15 17:17:50 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-02-15 17:17:50 +0100 |
commit | c1eee2b46cd5643ba8efb98b2cd598ef47c4daf6 (patch) | |
tree | cd23129ac6476d5be4814687248e3e71c0d959c9 /c/main.c | |
parent | c605ea0545ac22dc328c83d78011e3d18346eb63 (diff) | |
download | EpisodeBrowser-c1eee2b46cd5643ba8efb98b2cd598ef47c4daf6.tar.gz |
Show data in data list view.
Diffstat (limited to 'c/main.c')
-rw-r--r-- | c/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -207,7 +207,7 @@ void UpdateLayout(HWND hWnd) { HWND hElv, hDlv; - int cxColumn; + int cxColumn, cyDlv; RECT rc; static int cxVScroll = 0; extern int g_SelectedItem; @@ -222,7 +222,8 @@ UpdateLayout(HWND hWnd) /* Resize data list view. */ hDlv = GetDlgItem(hWnd, IDC_DATALISTVIEW); - MoveWindow(hDlv, 0, rc.bottom-100, + cyDlv = rc.bottom-100; + MoveWindow(hDlv, 0, cyDlv, rc.right, rc.bottom, TRUE); @@ -234,7 +235,7 @@ UpdateLayout(HWND hWnd) hElv = GetDlgItem(hWnd, IDC_EPISODELISTVIEW); MoveWindow(hElv, 0, 0, - rc.right, rc.bottom-100+1, + rc.right, cyDlv+1, TRUE); cxColumn = ListView_GetColumnWidth(hElv, 0); |