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!

Transparent form... but not quite

Status
Not open for further replies.

KempCGDR

Programmer
Jan 10, 2003
445
GB
Hi, I need to have a form in my application transparent so I did a quick search and came up with the method of setting the brush style to bsClear. This works fine except that if the form is moved then the area the form occupies still shows whatever the form used to be over the top of, which kinda defeats the point. Is there a way to make it update? I tried setting the brush style to solid and back again and also forcing a repaint of the form, both with no effect. In fact, setting the brush style back to bsSolid when the form is moved has no effect at all, it continues displaying what it displayed before.

Any thoughts on how I can get this to work properly?
 
Don't worry, fixed it now, had to use a different method.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top