Click here to Skip to main content
15,892,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ofstream optimization problem Pin
doug2517-Jul-13 5:06
doug2517-Jul-13 5:06 
GeneralRe: ofstream optimization problem Pin
Richard MacCutchan17-Jul-13 5:22
mveRichard MacCutchan17-Jul-13 5:22 
GeneralRe: ofstream optimization problem Pin
doug2517-Jul-13 5:48
doug2517-Jul-13 5:48 
GeneralRe: ofstream optimization problem Pin
Richard MacCutchan17-Jul-13 7:12
mveRichard MacCutchan17-Jul-13 7:12 
GeneralRe: ofstream optimization problem Pin
doug2517-Jul-13 9:38
doug2517-Jul-13 9:38 
GeneralRe: ofstream optimization problem Pin
Richard MacCutchan17-Jul-13 20:57
mveRichard MacCutchan17-Jul-13 20:57 
GeneralRe: ofstream optimization problem Pin
doug2518-Jul-13 2:48
doug2518-Jul-13 2:48 
GeneralRe: ofstream optimization problem Pin
Richard MacCutchan18-Jul-13 2:56
mveRichard MacCutchan18-Jul-13 2:56 
GeneralRe: ofstream optimization problem Pin
doug2518-Jul-13 3:16
doug2518-Jul-13 3:16 
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 
David,
I've now added the code showing the creation of the image list to my question as you're not the only one to ask how it's created or initialized. Basically my CDeviceImageList constructor uses a call to SetupDiGetClassImageList[^].

At the end of my list setup and data initialization I can use the last three lines of code shown to basically: GetDialog, GetListView, and GetIcon followed by a call to
C++
SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
to display in the top-left corner of the dialog the very icon I expect to see in the ListView. which would seem to prove the ImageList in the ListView has the icons.

Are they 32 bit? Not to my knowledge.

I've read the stuff on ImageLists, ListViews etc. until I almost know it by heart.
AnswerRe: Win32 ListView control doesn't display any icons Pin
Richard MacCutchan16-Jul-13 20:59
mveRichard MacCutchan16-Jul-13 20:59 
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 

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.