[Year 12 Its] vb6 problem

Con Zymaris conz at cyber.com.au
Wed Mar 8 15:10:43 EST 2006


On Wed, Mar 08, 2006 at 03:01:09PM +1100, Jim Bunn wrote:
> Greetings all,
> 
>  
> 
> I'm trying to make the background (eg the form) of a VB project to be
> transparent. The help file only seems to allow objects in the project to be
> transparent with the object.backstyle=0 command. I just want the textbox of
> the form to be visible with the form transparent and hence the desktop
> background behind the label visible. Is this possible? Does anyone have any
> ideas?

This can't be done with standard VB. You'll need to do some serious API
mojo, capturing the hidden screen beneath the form, then painting it into
a Picture control which is overlaid atop the form. It wont look pretty and
screen refreshes will look even less pretty.

Cheers,

Con Zymaris

- CEO, Cybersource Pty. Ltd.
- Director, Open Source Industry Australia, Limited.
- Convenor, Open Source Victoria (A Government-funded industry cluster.)
-- 
___________________________________________________________________________
Con Zymaris <conz at cyber.com.au> Level 4, 10 Queen St, Melbourne, Australia 
Cybersource: Australia's Leading Linux and Open Source Solutions Company 
Web: http://www.cyber.com.au/  Phone: 03 9621 2377   Fax: 03 9621 2477




More information about the is mailing list