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 Rhinorhino 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
Joined
Jun 20, 2000
Messages
8
Location
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