Click here to Skip to main content
16,004,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: suppress file creation Pin
jnerv10-Dec-05 15:48
jnerv10-Dec-05 15:48 
AnswerRe: suppress file creation Pin
gamitech11-Dec-05 0:42
gamitech11-Dec-05 0:42 
AnswerRe: suppress file creation Pin
FarPointer11-Dec-05 3:40
FarPointer11-Dec-05 3:40 
AnswerRe: suppress file creation Pin
ThatsAlok11-Dec-05 22:35
ThatsAlok11-Dec-05 22:35 
QuestionMemory shortage Pin
hint_549-Dec-05 14:30
hint_549-Dec-05 14:30 
AnswerRe: Memory shortage Pin
Nemanja Trifunovic9-Dec-05 17:04
Nemanja Trifunovic9-Dec-05 17:04 
AnswerRe: Memory shortage Pin
Jörgen Sigvardsson10-Dec-05 2:56
Jörgen Sigvardsson10-Dec-05 2:56 
QuestionList view doesn't want to make friends with image list Pin
Alex Orovetskiy9-Dec-05 10:55
Alex Orovetskiy9-Dec-05 10:55 
At least in my case. What I am trying to do is to obtain an icon from an executable and to add it among with exe name to the report-styled list control.
<br />
if(ExtractIconEx(str,0,NULL,NULL,0) > 0)<br />
{<br />
ExtractIconEx(str,0,NULL,&hIcon,1);<br />
m_plistIcons->Add(hIcon);<br />
}<br />
else<br />
m_plistIcons->Add(m_hIcon);<br />


What I get is while every run the handle is different and after the loop ends image list contains 37 entries the only icon which is applied to absolutly all list items is the first added to the image list.

Image list is being attached to list control using this line:
m_ProcList.SetImageList(m_plistIcons,LVSIL_SMALL);

I am quite sure I'm doing something wrong. I just dunno what.

-- modified at 4:49 Saturday 10th December, 2005
AnswerRe: List view doesn't want to make friends with image list Pin
Alex Orovetskiy10-Dec-05 9:17
Alex Orovetskiy10-Dec-05 9:17 
GeneralRe: List view doesn't want to make friends with image list Pin
Optimus Chaos15-Dec-05 4:57
Optimus Chaos15-Dec-05 4:57 
GeneralRe: List view doesn't want to make friends with image list Pin
Alex Orovetskiy15-Dec-05 5:09
Alex Orovetskiy15-Dec-05 5:09 
Questionstrstr in managed applications Pin
MaTTEvIL9-Dec-05 10:38
MaTTEvIL9-Dec-05 10:38 
AnswerRe: strstr in managed applications Pin
Nish Nishant9-Dec-05 10:57
sitebuilderNish Nishant9-Dec-05 10:57 
QuestionRogueWave ToolsVC? Pin
Ed K9-Dec-05 10:29
Ed K9-Dec-05 10:29 
QuestionFindWindow Word2003 problem Pin
rem-c9-Dec-05 10:29
rem-c9-Dec-05 10:29 
AnswerRe: FindWindow Word2003 problem Pin
sun_shb9-Dec-05 20:40
sun_shb9-Dec-05 20:40 
GeneralRe: FindWindow Word2003 problem Pin
rem-c10-Dec-05 4:28
rem-c10-Dec-05 4:28 
QuestionIdentify the CD rom drive Pin
NYTSX9-Dec-05 10:09
NYTSX9-Dec-05 10:09 
AnswerRe: Identify the CD rom drive Pin
Alex Orovetskiy9-Dec-05 10:49
Alex Orovetskiy9-Dec-05 10:49 
AnswerRe: Identify the CD rom drive Pin
Axter9-Dec-05 11:49
professionalAxter9-Dec-05 11:49 
GeneralRe: Identify the CD rom drive Pin
Alex Orovetskiy9-Dec-05 22:29
Alex Orovetskiy9-Dec-05 22:29 
AnswerRe: Identify the CD rom drive Pin
NYTSX11-Dec-05 9:54
NYTSX11-Dec-05 9:54 
GeneralRe: Identify the CD rom drive Pin
ThatsAlok11-Dec-05 21:27
ThatsAlok11-Dec-05 21:27 
Questionnew and delete operators size element Pin
lastgen9-Dec-05 9:53
lastgen9-Dec-05 9:53 
AnswerRe: new and delete operators size element Pin
Chris Losinger9-Dec-05 10:16
professionalChris Losinger9-Dec-05 10:16 

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.