Re: Icon size with CListCtrl

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




You can use whatever icon size you want. LVSIL_NORMAL
sets big icons image list for "icon" style view.
LVSIL_SMALL sets image list for the rest of view
styles like "report" etc.

--
Oleg


tech1 wrote:
Hi, Is it possible to use custom icon sizes with the CListCtrl
MFC class. We need to support upto 96x96 for the higher DPIs.

m_listctrl.SetImageList(m_pImageList, LVSIL_NORMAL);

I've assumed the LVSIL_NORMAL is only for 32x32. So how do i use
larger icons?


.