1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Drawing on a Transparent Window?

Discussion in 'C' started by GregMalick, Aug 28, 2010.

  1. GregMalick

    GregMalick New Member

    Aug 28, 2010
    Likes Received:
    Trophy Points:
    I'm trying to write a Windows App that will let me write or draw in a window and still see what's below. Kinda a transparent Notepad with Borders.

    It's easy to create a transparent Window using:
    CreateWindow() with wndclass.hbrBackground = (HBRUSH) 0;

    But in the CALLBACK WndProc() where I'm drawing, as soon as drawing begins - the background goes non-transparent (white). I've seen other freeware apps floating around that can do this - so I figure it's possible. I'd like to figure this out.

    Can anyone give me some help/direction?


    BTW, I'm on Vista32 (if that's pertinent).

Share This Page