Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo20-Jun-07 3:01
Chen-XuNuo20-Jun-07 3:01 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo20-Jun-07 3:16
Chen-XuNuo20-Jun-07 3:16 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo20-Jun-07 3:25
Chen-XuNuo20-Jun-07 3:25 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
James R. Twine20-Jun-07 4:55
James R. Twine20-Jun-07 4:55 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo20-Jun-07 21:02
Chen-XuNuo20-Jun-07 21:02 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
James R. Twine21-Jun-07 1:45
James R. Twine21-Jun-07 1:45 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo21-Jun-07 16:37
Chen-XuNuo21-Jun-07 16:37 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Mark Salsbery19-Jun-07 6:50
Mark Salsbery19-Jun-07 6:50 
James R. Twine wrote:
Also note that since you specified ILC_COLOR24 when creating the Imagelist control, setting a Mask value in the call to Add(...) will have no effect - Masks only work on 8-bit (or lower) bitmaps.


It works fine on 24-bit bitmaps if you use the ILC_MASK flag...

m_imagelist->Create(200,200,ILC_COLOR24|ILC_MASK,1,4);
m_imagelist->Add(&bitmap,RGB(255,0,0));

Try it Smile | :)

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
James R. Twine19-Jun-07 7:01
James R. Twine19-Jun-07 7:01 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Mark Salsbery19-Jun-07 7:56
Mark Salsbery19-Jun-07 7:56 
QuestionZoom in PRSDK (Canon SDSK supporting Power shot A640) Pin
Johnbrithol18-Jun-07 23:15
Johnbrithol18-Jun-07 23:15 
QuestionHow to resize CEdit dynamically? Pin
Soleil couchant18-Jun-07 23:06
Soleil couchant18-Jun-07 23:06 
AnswerRe: How to resize CEdit dynamically? Pin
Rage18-Jun-07 23:29
professionalRage18-Jun-07 23:29 
AnswerRe: How to resize CEdit dynamically? Pin
David Crow19-Jun-07 2:53
David Crow19-Jun-07 2:53 
AnswerRe: How to resize CEdit dynamically? Pin
bob1697219-Jun-07 4:46
bob1697219-Jun-07 4:46 
AnswerRe: How to resize CEdit dynamically? Pin
Mark Salsbery19-Jun-07 7:42
Mark Salsbery19-Jun-07 7:42 
Questionhow to set text in different fonts in defferent lines of static text control Pin
Banks K18-Jun-07 23:01
Banks K18-Jun-07 23:01 
AnswerRe: how to set text in different fonts in defferent lines of static text control Pin
Rage18-Jun-07 23:30
professionalRage18-Jun-07 23:30 
GeneralRe: how to set text in different fonts in defferent lines of static text control Pin
Banks K19-Jun-07 0:00
Banks K19-Jun-07 0:00 
GeneralRe: how to set text in different fonts in defferent lines of static text control Pin
Iain Clarke, Warrior Programmer19-Jun-07 0:16
Iain Clarke, Warrior Programmer19-Jun-07 0:16 
GeneralRe: how to set text in different fonts in defferent lines of static text control Pin
Hamid_RT19-Jun-07 0:45
Hamid_RT19-Jun-07 0:45 
Questionread data from text file, extract and display in excel format Pin
mrr218-Jun-07 22:47
mrr218-Jun-07 22:47 
AnswerRe: read data from text file, extract and display in excel format [modified] Pin
Rage18-Jun-07 23:37
professionalRage18-Jun-07 23:37 
GeneralRe: read data from text file, extract and display in excel format Pin
Iain Clarke, Warrior Programmer19-Jun-07 0:20
Iain Clarke, Warrior Programmer19-Jun-07 0:20 
GeneralRe: read data from text file, extract and display in excel format Pin
Rage19-Jun-07 0:23
professionalRage19-Jun-07 0:23 

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.