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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I make a Control Transparent?

Status
Not open for further replies.

koala15

Programmer
May 9, 2001
322
AU
Hi,

I am using the following API in VB6 to make a Frame control transparent but it returns zero (error) in the API call
Code:
SetWindowLong frame1.hwnd, GWL_EXSTYLE, WS_EX_TRANSPARENT
I have an idea that the frame control and others (example: the option button control) are "composite" controls having "child" components. Therefore, the frame1.hwnd reference is incorrect.

Can anyone give some advise.

Thanks .... Greg.

"Life is full of learning, and then there is wisdom"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top