aboutsummaryrefslogtreecommitdiff
path: root/src/libs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-11-10 15:11:32 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-11-10 17:33:25 -0600
commitdcdbe080bcbe191bf9543db58a44e57866d20576 (patch)
tree88168ba30d086ef05b11a56a722d7774b9ced40b /src/libs
parent0013447068dfde42c60fa802e5387e9bc4d0b2e2 (diff)
downloadwix-dcdbe080bcbe191bf9543db58a44e57866d20576.tar.gz
wix-dcdbe080bcbe191bf9543db58a44e57866d20576.tar.bz2
wix-dcdbe080bcbe191bf9543db58a44e57866d20576.zip
ListView controls can have a different image list for different modes.
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/dutil/WixToolset.DUtil/thmutil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/thmutil.cpp b/src/libs/dutil/WixToolset.DUtil/thmutil.cpp
index b5dfbae4..ab1a2233 100644
--- a/src/libs/dutil/WixToolset.DUtil/thmutil.cpp
+++ b/src/libs/dutil/WixToolset.DUtil/thmutil.cpp
@@ -6363,15 +6363,15 @@ static HRESULT LoadControls(
6363 { 6363 {
6364 ::SendMessageW(pControl->hWnd, LVM_SETIMAGELIST, static_cast<WPARAM>(LVSIL_NORMAL), reinterpret_cast<LPARAM>(pControl->ListView.rghImageList[0])); 6364 ::SendMessageW(pControl->hWnd, LVM_SETIMAGELIST, static_cast<WPARAM>(LVSIL_NORMAL), reinterpret_cast<LPARAM>(pControl->ListView.rghImageList[0]));
6365 } 6365 }
6366 else if (pControl->ListView.rghImageList[1]) 6366 if (pControl->ListView.rghImageList[1])
6367 { 6367 {
6368 ::SendMessageW(pControl->hWnd, LVM_SETIMAGELIST, static_cast<WPARAM>(LVSIL_SMALL), reinterpret_cast<LPARAM>(pControl->ListView.rghImageList[1])); 6368 ::SendMessageW(pControl->hWnd, LVM_SETIMAGELIST, static_cast<WPARAM>(LVSIL_SMALL), reinterpret_cast<LPARAM>(pControl->ListView.rghImageList[1]));
6369 } 6369 }
6370 else if (pControl->ListView.rghImageList[2]) 6370 if (pControl->ListView.rghImageList[2])
6371 { 6371 {
6372 ::SendMessageW(pControl->hWnd, LVM_SETIMAGELIST, static_cast<WPARAM>(LVSIL_STATE), reinterpret_cast<LPARAM>(pControl->ListView.rghImageList[2])); 6372 ::SendMessageW(pControl->hWnd, LVM_SETIMAGELIST, static_cast<WPARAM>(LVSIL_STATE), reinterpret_cast<LPARAM>(pControl->ListView.rghImageList[2]));
6373 } 6373 }
6374 else if (pControl->ListView.rghImageList[3]) 6374 if (pControl->ListView.rghImageList[3])
6375 { 6375 {
6376 ::SendMessageW(pControl->hWnd, LVM_SETIMAGELIST, static_cast<WPARAM>(LVSIL_GROUPHEADER), reinterpret_cast<LPARAM>(pControl->ListView.rghImageList[3])); 6376 ::SendMessageW(pControl->hWnd, LVM_SETIMAGELIST, static_cast<WPARAM>(LVSIL_GROUPHEADER), reinterpret_cast<LPARAM>(pControl->ListView.rghImageList[3]));
6377 } 6377 }