Click here to Skip to main content
15,902,821 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: a pointer question Pin
Naveen30-Oct-07 17:05
Naveen30-Oct-07 17:05 
GeneralRe: a pointer question Pin
Nishad S30-Oct-07 17:53
Nishad S30-Oct-07 17:53 
AnswerRe: a pointer question Pin
David Crow31-Oct-07 3:53
David Crow31-Oct-07 3:53 
QuestionConvert CImageList image to transparent GIF Pin
Neville Franks30-Oct-07 11:30
Neville Franks30-Oct-07 11:30 
AnswerRe: Convert CImageList image to transparent GIF Pin
Mark Salsbery30-Oct-07 12:14
Mark Salsbery30-Oct-07 12:14 
GeneralRe: Convert CImageList image to transparent GIF Pin
Neville Franks31-Oct-07 10:37
Neville Franks31-Oct-07 10:37 
GeneralRe: Convert CImageList image to transparent GIF Pin
Mark Salsbery31-Oct-07 10:49
Mark Salsbery31-Oct-07 10:49 
GeneralRe: Convert CImageList image to transparent GIF Pin
Mark Salsbery31-Oct-07 10:53
Mark Salsbery31-Oct-07 10:53 
BTW, try just drawing the icon anywhere on a window or the screen
right after the ExtractIcon call.  Does it still have transparency?

If not - that's where you're losing the "background".

If so, then you're losing transparency when crossing the GDI-GDI+
line when you call FromHICON().

Cheers,
Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Convert CImageList image to transparent GIF Pin
Neville Franks31-Oct-07 11:07
Neville Franks31-Oct-07 11:07 
GeneralRe: Convert CImageList image to transparent GIF Pin
Mark Salsbery31-Oct-07 12:05
Mark Salsbery31-Oct-07 12:05 
GeneralRe: Convert CImageList image to transparent GIF Pin
Neville Franks31-Oct-07 21:32
Neville Franks31-Oct-07 21:32 
GeneralRe: Convert CImageList image to transparent GIF Pin
Mark Salsbery1-Nov-07 5:37
Mark Salsbery1-Nov-07 5:37 
GeneralRe: Convert CImageList image to transparent GIF Pin
Neville Franks1-Nov-07 23:13
Neville Franks1-Nov-07 23:13 
GeneralRe: Convert CImageList image to transparent GIF Pin
Neville Franks9-Nov-08 12:49
Neville Franks9-Nov-08 12:49 
GeneralRe: Convert CImageList image to transparent GIF Pin
Mark Salsbery10-Nov-08 4:56
Mark Salsbery10-Nov-08 4:56 
QuestionStruct memory allocation question Pin
thespiff30-Oct-07 10:34
thespiff30-Oct-07 10:34 
AnswerRe: Struct memory allocation question Pin
Mark Salsbery30-Oct-07 10:45
Mark Salsbery30-Oct-07 10:45 
GeneralRe: Struct memory allocation question Pin
led mike30-Oct-07 11:10
led mike30-Oct-07 11:10 
GeneralRe: Struct memory allocation question Pin
Mark Salsbery30-Oct-07 11:32
Mark Salsbery30-Oct-07 11:32 
AnswerRe: Struct memory allocation question Pin
John R. Shaw30-Oct-07 15:09
John R. Shaw30-Oct-07 15:09 
AnswerRe: Struct memory allocation question Pin
Neo Andreson30-Oct-07 20:16
Neo Andreson30-Oct-07 20:16 
GeneralRe: Struct memory allocation question Pin
Mark Salsbery31-Oct-07 6:02
Mark Salsbery31-Oct-07 6:02 
Questioncctype and If ( ) Pin
pourang30-Oct-07 9:30
pourang30-Oct-07 9:30 
AnswerRe: cctype and If ( ) Pin
Mark Salsbery30-Oct-07 10:11
Mark Salsbery30-Oct-07 10:11 
GeneralRe: cctype and If ( ) Pin
pourang30-Oct-07 10:16
pourang30-Oct-07 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.