Hello!
I have a list control that I load icons in to and it looks fantastic. The problem is when you click on the item, the text stays but the icon disappears. I fear that it is the way I am drawing the icons but I do not know of any other way.
Thoughts?
Thanks,
Ron
cout << "If you don't know where you want to go, we'll make sure you get taken";
I have a list control that I load icons in to and it looks fantastic. The problem is when you click on the item, the text stays but the icon disappears. I fear that it is the way I am drawing the icons but I do not know of any other way.
Code:
[blue]
CImageList myList;
myList.Create(16,16,ILC_COLOR32,1,0);
myList.Add(AfxGetApp()->LoadIcon(ICON_MED));
myList.Add(AfxGetApp()->LoadIcon(ICON_RX));
TheList.SetImageList(&myList,LVSIL_SMALL);
CDC *pDC = TheList.GetWindowDC();
POINT pt = {0,0};
myList.Draw(pDC,0,pt,ILD_NORMAL);
[/blue]
Thoughts?
Thanks,
Ron
cout << "If you don't know where you want to go, we'll make sure you get taken";