Click here to Skip to main content
15,885,366 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ofstream optimization problem Pin
doug2518-Jul-13 3:31
doug2518-Jul-13 3:31 
GeneralRe: ofstream optimization problem Pin
Richard MacCutchan18-Jul-13 3:50
mveRichard MacCutchan18-Jul-13 3:50 
GeneralRe: ofstream optimization problem Pin
Jochen Arndt17-Jul-13 21:08
professionalJochen Arndt17-Jul-13 21:08 
GeneralRe: ofstream optimization problem Pin
doug2518-Jul-13 2:55
doug2518-Jul-13 2:55 
QuestionWin32 ListView control doesn't display any icons Pin
Jonathan Davies16-Jul-13 7:48
Jonathan Davies16-Jul-13 7:48 
QuestionRe: Win32 ListView control doesn't display any icons Pin
Randor 16-Jul-13 13:01
professional Randor 16-Jul-13 13:01 
AnswerRe: Win32 ListView control doesn't display any icons Pin
Jonathan Davies16-Jul-13 23:49
Jonathan Davies16-Jul-13 23:49 
AnswerRe: Win32 ListView control doesn't display any icons Pin
Richard MacCutchan16-Jul-13 20:59
mveRichard MacCutchan16-Jul-13 20:59 
C++
CDeviceImageList cImageList;
HIMAGELIST hImageList = cImageList;

HIMAGELIST hRet = ListView_SetImageList(hList,  hImageList, LVSIL_SMALL,);

I note that you are using the CDeviceImageList class from this Article[^], in which case you should post your question in the forum at the end of the article to dicuss with the author. Although it looks to me that you have not initialised the object with any icons.
Use the best guess

GeneralRe: Win32 ListView control doesn't display any icons Pin
Jonathan Davies16-Jul-13 23:24
Jonathan Davies16-Jul-13 23:24 
GeneralRe: Win32 ListView control doesn't display any icons Pin
Richard MacCutchan17-Jul-13 1:33
mveRichard MacCutchan17-Jul-13 1:33 
GeneralRe: Win32 ListView control doesn't display any icons Pin
Jonathan Davies17-Jul-13 2:27
Jonathan Davies17-Jul-13 2:27 
GeneralRe: Win32 ListView control doesn't display any icons Pin
Richard MacCutchan17-Jul-13 4:49
mveRichard MacCutchan17-Jul-13 4:49 
GeneralRe: Win32 ListView control doesn't display any icons Pin
Jonathan Davies17-Jul-13 6:42
Jonathan Davies17-Jul-13 6:42 
GeneralRe: Win32 ListView control doesn't display any icons Pin
Richard MacCutchan17-Jul-13 7:33
mveRichard MacCutchan17-Jul-13 7:33 
AnswerRe: Win32 ListView control doesn't display any icons Pin
Jonathan Davies18-Jul-13 0:19
Jonathan Davies18-Jul-13 0:19 
GeneralRe: Win32 ListView control doesn't display any icons Pin
Richard MacCutchan18-Jul-13 0:39
mveRichard MacCutchan18-Jul-13 0:39 
GeneralRe: Win32 ListView control doesn't display any icons Pin
Richard MacCutchan17-Jul-13 7:50
mveRichard MacCutchan17-Jul-13 7:50 
QuestionHow can make smooth horizontal scroll on ListControl?? Pin
Sun-Mi Kang14-Jul-13 21:21
Sun-Mi Kang14-Jul-13 21:21 
AnswerRe: How can make smooth horizontal scroll on ListControl?? Pin
Richard MacCutchan14-Jul-13 22:24
mveRichard MacCutchan14-Jul-13 22:24 
QuestionHow to use listview_insertgroup with custom draw? Pin
JoneLe8614-Jul-13 18:39
JoneLe8614-Jul-13 18:39 
QuestionRe: How to use listview_insertgroup with custom draw? Pin
Richard MacCutchan14-Jul-13 21:19
mveRichard MacCutchan14-Jul-13 21:19 
AnswerRe: How to use listview_insertgroup with custom draw? Pin
JoneLe8619-Jul-13 8:42
JoneLe8619-Jul-13 8:42 
Questionbeginner question... recursive function Pin
Member 1008957914-Jul-13 5:40
Member 1008957914-Jul-13 5:40 
AnswerRe: beginner question... recursive function Pin
Santhosh G_14-Jul-13 7:46
Santhosh G_14-Jul-13 7:46 
GeneralRe: beginner question... recursive function Pin
AlphaDeltaTheta14-Jul-13 17:40
AlphaDeltaTheta14-Jul-13 17:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.