diff options
author | John Ankarström <john@ankarstrom.se> | 2022-04-25 14:10:02 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-04-25 14:10:02 +0200 |
commit | c884c09ac88c0d22a21f839593d77c7173c41b60 (patch) | |
tree | 5aa03981fcc2196443993d691f792c14d0435872 /c/datalistview.c | |
parent | 45133f2f99dc2e6f0e786909a68f1cfd93b7f01d (diff) | |
download | EpisodeBrowser-c884c09ac88c0d22a21f839593d77c7173c41b60.tar.gz |
Flip title and rating columns.
Diffstat (limited to 'c/datalistview.c')
-rw-r--r-- | c/datalistview.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/datalistview.c b/c/datalistview.c index e9ad2ac..5335b27 100644 --- a/c/datalistview.c +++ b/c/datalistview.c @@ -16,16 +16,16 @@ DlvCreate() HDlv = LvCreate((HMENU)IDC_DATALISTVIEW, LVS_NOCOLUMNHEADER); lvc.mask = LVCF_WIDTH|LVCF_TEXT|LVCF_SUBITEM; - lvc.iSubItem = 0; + lvc.iSubItem = DLVSIKEY; lvc.pszText = TEXT("Key"); lvc.cx = Dpi(42); - ListView_InsertColumn(HDlv, 0, &lvc); + ListView_InsertColumn(HDlv, DLVSIKEY, &lvc); - lvc.iSubItem = 1; + lvc.iSubItem = DLVSIVALUE; lvc.pszText = TEXT("Value"); lvc.cx = 500; - ListView_InsertColumn(HDlv, 1, &lvc); + ListView_InsertColumn(HDlv, DLVSIVALUE, &lvc); return HDlv; } |