Transparent drawing
-
Hi, I have two tiff images and I am loading them into CBitmap using GDI Bitmap class. I am using one of the image to paint the background of a dialog and its working fine. Now I would like to use the second image to draw on top of the first. The second image has some transaparent areas and those areas should be replaced with the image in the back( first image). I tried several examples in Codeproject, But I am getting the transaparent area filled with blue. Can someone pl. guide me on doing this. Thanks San "A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
-
Hi, I have two tiff images and I am loading them into CBitmap using GDI Bitmap class. I am using one of the image to paint the background of a dialog and its working fine. Now I would like to use the second image to draw on top of the first. The second image has some transaparent areas and those areas should be replaced with the image in the back( first image). I tried several examples in Codeproject, But I am getting the transaparent area filled with blue. Can someone pl. guide me on doing this. Thanks San "A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
Try to create a new view which is overlapped on the dialogbox. The first image should be in CStatic control. The second image should be manually drawn on the view by editing the function OnDraw(CDC* pDC). This might work but dont know about the windows message realted to it. Vikas Amin Embin Technology Bombay vikas.amin@embin.com
-
Hi, I have two tiff images and I am loading them into CBitmap using GDI Bitmap class. I am using one of the image to paint the background of a dialog and its working fine. Now I would like to use the second image to draw on top of the first. The second image has some transaparent areas and those areas should be replaced with the image in the back( first image). I tried several examples in Codeproject, But I am getting the transaparent area filled with blue. Can someone pl. guide me on doing this. Thanks San "A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
try article Q79212 in the MSDN Cleek | Image Toolkits | Thumbnail maker
-
Hi, I have two tiff images and I am loading them into CBitmap using GDI Bitmap class. I am using one of the image to paint the background of a dialog and its working fine. Now I would like to use the second image to draw on top of the first. The second image has some transaparent areas and those areas should be replaced with the image in the back( first image). I tried several examples in Codeproject, But I am getting the transaparent area filled with blue. Can someone pl. guide me on doing this. Thanks San "A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."