Click here to Skip to main content
15,909,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Get Client Request Ip Pin
Maruf Maniruzzaman24-Feb-08 23:49
Maruf Maniruzzaman24-Feb-08 23:49 
AnswerRe: Get Client Request Ip Pin
Rajkumar R25-Feb-08 3:16
Rajkumar R25-Feb-08 3:16 
QuestionDefine tree item map ( stl ) ... What wrong with my code ? Pin
Yanshof24-Feb-08 21:57
Yanshof24-Feb-08 21:57 
AnswerRe: Define tree item map ( stl ) ... What wrong with my code ? Pin
Christian Graus24-Feb-08 22:03
protectorChristian Graus24-Feb-08 22:03 
GeneralRe: Define tree item map ( stl ) ... What wrong with my code ? Pin
Yanshof24-Feb-08 22:07
Yanshof24-Feb-08 22:07 
QuestionRe: Define tree item map ( stl ) ... What wrong with my code ? Pin
Rajkumar R24-Feb-08 22:56
Rajkumar R24-Feb-08 22:56 
GeneralRe: Define tree item map ( stl ) ... What wrong with my code ? Pin
Cedric Moonen24-Feb-08 22:59
Cedric Moonen24-Feb-08 22:59 
Questionalpha channel problem Pin
trioum24-Feb-08 20:14
trioum24-Feb-08 20:14 
i am using the freeimage library to display 32 bit bitamp with alpha
channel . I am using the following code

//--------------------------------------------
::SetDIBitsToDevice(
pDC->m_hDC, // handle to DC
xDst, yDst, // x-y-coord of destination upper-left corner
dxSrc, dySrc, // width-height of source rectangle
xSrc, ySrc, // x-y-coord of source upper-left corner
0,//uStartScan,// first scan line in array
FreeImage_GetHeight(pFIBitmap), // number of scan lines
FreeImage_GetBits(pFIBitmap), // array of DIB bits
FreeImage_GetInfo(pFIBitmap), // bitmap information
DIB_RGB_COLORS); // RGB or palette indexes

//-----------------------------------------------------------
In my 32 bit bitmap alpha channel value is 0 i.e must be transparent
on rendering device context. but is it not happening it is not
transparent (FULL BLACK). same problem occuring with 32 bit targa files

can any one suggest me the solution ????

Trioum

GeneralRe: alpha channel problem Pin
Mark Salsbery24-Feb-08 20:42
Mark Salsbery24-Feb-08 20:42 
GeneralRe: alpha channel problem Pin
trioum24-Feb-08 20:55
trioum24-Feb-08 20:55 
GeneralRe: alpha channel problem Pin
Mark Salsbery24-Feb-08 21:12
Mark Salsbery24-Feb-08 21:12 
QuestionRe: alpha channel problem Pin
trioum24-Feb-08 22:34
trioum24-Feb-08 22:34 
GeneralRe: alpha channel problem Pin
Mark Salsbery25-Feb-08 5:36
Mark Salsbery25-Feb-08 5:36 
GeneralRe: alpha channel problem Pin
Chris Losinger25-Feb-08 4:06
professionalChris Losinger25-Feb-08 4:06 
GeneralRe: alpha channel problem Pin
Mark Salsbery25-Feb-08 5:30
Mark Salsbery25-Feb-08 5:30 
GeneralRe: alpha channel problem Pin
Chris Losinger25-Feb-08 5:48
professionalChris Losinger25-Feb-08 5:48 
GeneralRe: alpha channel problem Pin
Mark Salsbery25-Feb-08 5:54
Mark Salsbery25-Feb-08 5:54 
GeneralRe: alpha channel problem Pin
Chris Losinger25-Feb-08 4:04
professionalChris Losinger25-Feb-08 4:04 
QuestionRe: alpha channel problem Pin
trioum25-Feb-08 18:07
trioum25-Feb-08 18:07 
GeneralRe: alpha channel problem Pin
Mark Salsbery26-Feb-08 6:04
Mark Salsbery26-Feb-08 6:04 
GeneralRe: alpha channel problem Pin
Mark Salsbery26-Feb-08 7:01
Mark Salsbery26-Feb-08 7:01 
GeneralRe: alpha channel problem Pin
trioum26-Feb-08 19:12
trioum26-Feb-08 19:12 
GeneralRe: alpha channel problem Pin
Mark Salsbery26-Feb-08 20:38
Mark Salsbery26-Feb-08 20:38 
GeneralEnable The Button Control Pin
bhat24-Feb-08 20:07
bhat24-Feb-08 20:07 
GeneralRe: Enable The Button Control Pin
Maxwell Chen24-Feb-08 20:12
Maxwell Chen24-Feb-08 20:12 

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.