Draw window with just borders
Posted
by Tonatiuh
on Stack Overflow
See other posts from Stack Overflow
or by Tonatiuh
Published on 2010-03-27T20:17:32Z
Indexed on
2010/03/27
20:23 UTC
Read the original article
Hit count: 340
How can I create a application window that is showing just the borders of the window, but i don't want to show the contents of the window itself. I mean i want to see the rest of the desktop or the others windows through the entire region of my window. No using transparences. Just draw the borders.
I suppose it's like detecting the messages WM_ERASEBKGND and WM_PAINT and doing nothing in these cases to force not painting in the contens, but I have tried and window is still drawing a white background.
How can i get it?
© Stack Overflow or respective owner