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

C / C++ / MFC

 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
prasad_som25-Aug-06 2:25
prasad_som25-Aug-06 2:25 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Hamid_RT25-Aug-06 3:10
Hamid_RT25-Aug-06 3:10 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
prasad_som25-Aug-06 3:12
prasad_som25-Aug-06 3:12 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Hamid_RT25-Aug-06 2:23
Hamid_RT25-Aug-06 2:23 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Tcpip200525-Aug-06 3:35
Tcpip200525-Aug-06 3:35 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Hamid_RT25-Aug-06 3:50
Hamid_RT25-Aug-06 3:50 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Tcpip200525-Aug-06 17:07
Tcpip200525-Aug-06 17:07 
GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
Hamid_RT26-Aug-06 1:02
Hamid_RT26-Aug-06 1:02 
for black background dc.DrawIcon(x/*32*/, 0, m_ImageList->ExtractIcon(i)); i used 32x32 for your icons you need to calculate x and y
for change background you can use from:
you need to two CDC objects one for draw icon and another for draw previous dc in new dc(for change color)
1-create two dc(dc1,dc2)and create two bitmap
2-in dc1 you draw icon
3-in dc2 you need to set color for bitmap and draw dc1 to dc2
4-then save this dc
it seems that its hard but when you start to this work its not hard also you can find examples for this purpose in bitmap i think i see examples for example you need to draw many pictures to a picture if you write this program then its very helpful in your programming.


WhiteSky


GeneralRe: How can I get a HBITMAP handle from a CImageList Object? Pin
mathievp24-Mar-09 8:37
mathievp24-Mar-09 8:37 
QuestionSid in report event function Pin
ashokvishnu25-Aug-06 0:54
ashokvishnu25-Aug-06 0:54 
QuestionC function for parsing string array? Pin
9ine25-Aug-06 0:38
9ine25-Aug-06 0:38 
AnswerRe: C function for parsing string array? Pin
Anonymuos25-Aug-06 0:52
Anonymuos25-Aug-06 0:52 
AnswerRe: C function for parsing string array? Pin
toxcct25-Aug-06 3:01
toxcct25-Aug-06 3:01 
GeneralRe: C function for parsing string array? Pin
Anonymuos25-Aug-06 6:03
Anonymuos25-Aug-06 6:03 
AnswerRe: C function for parsing string array? Pin
Zac Howland25-Aug-06 6:41
Zac Howland25-Aug-06 6:41 
AnswerRe: C function for parsing string array? [modified] Pin
Stephen Hewitt26-Aug-06 3:18
Stephen Hewitt26-Aug-06 3:18 
Questionbasic question in C++ Pin
Green Fuze25-Aug-06 0:37
Green Fuze25-Aug-06 0:37 
AnswerRe: basic question in C++ Pin
prasad_som25-Aug-06 1:54
prasad_som25-Aug-06 1:54 
GeneralRe: basic question in C++ Pin
Green Fuze25-Aug-06 2:10
Green Fuze25-Aug-06 2:10 
GeneralRe: basic question in C++ Pin
Kevin McFarlane27-Aug-06 8:32
Kevin McFarlane27-Aug-06 8:32 
AnswerRe: basic question in C++ Pin
Nish Nishant26-Aug-06 3:28
sitebuilderNish Nishant26-Aug-06 3:28 
QuestionProgress bar problem. Pin
Deepak Samuel24-Aug-06 23:51
Deepak Samuel24-Aug-06 23:51 
QuestionRe: Progress bar problem. Pin
Programm3r25-Aug-06 0:00
Programm3r25-Aug-06 0:00 
AnswerRe: Progress bar problem. Pin
Programm3r25-Aug-06 0:08
Programm3r25-Aug-06 0:08 
AnswerRe: Progress bar problem. Pin
Hamid_RT25-Aug-06 0:43
Hamid_RT25-Aug-06 0:43 

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.