Click here to Skip to main content
15,908,173 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDrag & Drop Pin
Aqueel28-Nov-05 17:29
Aqueel28-Nov-05 17:29 
AnswerRe: Drag & Drop Pin
Rajesh R Subramanian28-Nov-05 20:08
professionalRajesh R Subramanian28-Nov-05 20:08 
QuestionGraphics Pin
sthalasayanam28-Nov-05 16:18
sthalasayanam28-Nov-05 16:18 
AnswerRe: Graphics Pin
Christian Graus28-Nov-05 17:02
protectorChristian Graus28-Nov-05 17:02 
QuestionHow to load some icons from a file into a listcontrol? Pin
zhonglin.liang28-Nov-05 15:59
zhonglin.liang28-Nov-05 15:59 
AnswerRe: How to load some icons from a file into a listcontrol? Pin
Gavin Taylor28-Nov-05 18:57
professionalGavin Taylor28-Nov-05 18:57 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
zhonglin.liang28-Nov-05 19:30
zhonglin.liang28-Nov-05 19:30 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
Gavin Taylor28-Nov-05 19:46
professionalGavin Taylor28-Nov-05 19:46 
Which mode is the list control displaying in report, icon, etc?

I should have explained, the CImageList::Create methods parameters have got to match the icon size the list control is going to display in. ie, if it's running in report mode the image size would be 16x16 as opposed to 32x32. see the MSDN topic[^] for more details on using the image list, and when you bind the CImageList to the CListCtrl using CListCtrl::SetImageList pass LVSIL_SMALL instead of LVSIL_NORMAL.

Any more probs try posting some of your code so I can see where your going wrong...




Gavin Taylor
w: http://www.gavintaylor.co.uk

GeneralRe: How to load some icons from a file into a listcontrol? Pin
zhonglin.liang28-Nov-05 20:18
zhonglin.liang28-Nov-05 20:18 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
Gavin Taylor28-Nov-05 20:24
professionalGavin Taylor28-Nov-05 20:24 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
zhonglin.liang28-Nov-05 21:05
zhonglin.liang28-Nov-05 21:05 
GeneralRe: How to load some icons from a file into a listcontrol? Pin
Gavin Taylor28-Nov-05 22:00
professionalGavin Taylor28-Nov-05 22:00 
QuestionMFC Program looking for a good tool for a log box. Pin
King Link28-Nov-05 15:15
King Link28-Nov-05 15:15 
AnswerRe: MFC Program looking for a good tool for a log box. Pin
Christian Graus28-Nov-05 15:34
protectorChristian Graus28-Nov-05 15:34 
GeneralRe: MFC Program looking for a good tool for a log box. Pin
S Douglas28-Nov-05 19:06
professionalS Douglas28-Nov-05 19:06 
QuestionMultiple language support using static lib Pin
Harshabhi28-Nov-05 14:15
Harshabhi28-Nov-05 14:15 
AnswerRe: Multiple language support using static lib Pin
Gavin Taylor28-Nov-05 19:15
professionalGavin Taylor28-Nov-05 19:15 
Questionno operator found which takes a right-hand operand of type 'char' Pin
Lord Kixdemp28-Nov-05 14:02
Lord Kixdemp28-Nov-05 14:02 
AnswerRe: no operator found which takes a right-hand operand of type 'char' Pin
PJ Arends28-Nov-05 14:28
professionalPJ Arends28-Nov-05 14:28 
GeneralRe: no operator found which takes a right-hand operand of type 'char' Pin
Lord Kixdemp28-Nov-05 14:41
Lord Kixdemp28-Nov-05 14:41 
QuestionConverting PDF's to TIFF's Pin
bitznarf28-Nov-05 12:02
bitznarf28-Nov-05 12:02 
Questionproject graph analys Pin
senatort77728-Nov-05 11:00
senatort77728-Nov-05 11:00 
AnswerRe: project graph analys Pin
kakan28-Nov-05 19:08
professionalkakan28-Nov-05 19:08 
QuestionFilling an array with random characters Pin
mouaronc28-Nov-05 10:52
mouaronc28-Nov-05 10:52 
AnswerRe: Filling an array with random characters Pin
Gary R. Wheeler28-Nov-05 14:05
Gary R. Wheeler28-Nov-05 14:05 

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.