MAKING ONLY THE FORM TO BE TRANSPARENT IN VB 6.0

  • 12 years ago

    Hey!

    I am Uditha from Wattala, Sri Lanka. I want to ask how can I make only the form to be transparent while the other controls are opaque in a project in VB 6.0. Please can you telll me how to do this. If you any have any comments, can you be kind enough to mail them to me at [email protected]

    Thanks.Confused

  • 12 years ago

    It's simple.you can set form OPACITY .

     

     

     

  • 12 years ago

    As far as i remember, there is no such property in VB6, anubhava.

    Uditha, heya. I believe it's possible to use BitBlt and SetBkColor, both functions from GDI32, to manipulate the form background and generate transparent forms. unfortunately i've no samples atm to show you - google it, i'm sure you'll find something about transparency in VB.

     Good luck!

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - Rick Osborne