Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transparent Window

Status
Not open for further replies.

francisco

Programmer
Jun 20, 2000
8
DE
I´m interested to make a very very simple aplication, it consits in a visible frame window but the client area should be transparent, except two axes. How could I make it. Thanks in advance

javi
 
Try using
Code:
SetWindowRgn(HWND hWnd, HRGN hRgn, BOOL bRedraw)
or if you're working in an MFC project use
Code:
CWnd::SetWindowRgn(HRGN hRgn, BOOL bRedraw);
Just create a region (CRgn works too) specifying the shape you want displayed and call it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top