Its really looks good to see the semi transparent project , but it would have be even better (great) if u provide a sample project here, so that we can see how it is really done instead of thinking were to place the code .., if possible please attach a sample here.
Isn;t it enought that the author wrote the routine for you? Must you be spoon fed like an infant?
Posted by jayender.vs
on 06/29/2006 03:27am
Its worse to read a comment .. this is somthing that really helps many people here ,and its not difficult for the author to provide the sample project instead of giving the code...hope u understand.
nothing wrong in providing the sample, it actually helps the people here who wants it very urgently instead of spending time in it .
Starting with Windows 98 .. there is a new Display Context function available called AlphaBlend() .. i haven't figured out how it works exactly but i'm working on it. Meanwhile, you guys can do your own research on it and probably come up with good examples.
Here is the Syntax as show in the MSDN Library.
HDC hdcDest, // handle to destination DC
int nXOriginDest, // x-coord of upper-left corner
int nYOriginDest, // y-coord of upper-left corner
int nWidthDest, // destination width
int nHeightDest, // destination height
HDC hdcSrc, // handle to source DC
int nXOriginSrc, // x-coord of upper-left corner
int nYOriginSrc, // y-coord of upper-left corner
int nWidthSrc, // source width
int nHeightSrc, // source height
BLENDFUNCTION blendFunction // alpha-blending function