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

C / C++ / MFC

 
GeneralRe: a pointer question Pin
richardye30-Oct-07 18:56
richardye30-Oct-07 18:56 
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 
Good luck Smile | :)

There's a little trial and error involved in figuring out which combination of
GDI and GDI+ calls preserve alpha and transparency data.

It may look ridiculously complicated for a seemingly simple operation, but with GDI
especially, alpha and transparency data is pretty much ignored except with DIBSections.

Please let me know what works for you!

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Convert CImageList image to transparent GIF Pin
Mark Salsbery31-Oct-07 10:53
Mark Salsbery31-Oct-07 10:53 
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 

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.