Hi. --- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > To the best of my knowledge, a program cannot blend with other > processes windows except by setting the window transparency, and it > must be set to one value.
Hmm. I've seen several apps which seem to use pngs as backgrounds and are blended over other windows. I found this: 1. Create WS_POPUP window with WS_EX_LAYERED style. 2. Create a 32 bit DIB Section using CreateDIBSection() function and select it to any compatible DC. It will be an offscreen plain to render window contents to. 3. Render window contents, preserving the alpha channel. 4. Call UpdateLayeredWindow() function to draw the window to screen. Does that make sense? Mockey Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
