Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > transparent picturebox overlay


Reply
 
Thread Tools Display Modes
  #1  
Old 03-28-2003, 02:14 PM
hipocktT hipocktT is offline
Newcomer
 
Join Date: Mar 2003
Posts: 7
Question transparent picturebox overlay


Have Picturebox #1 containing an image. Does anyone know of any way to lay a transparent picturebox(?) over this first image so that a second image can be created on the transparent overlay. I have to be able to see the intial image in Picturebox #1 while creating the second image on the transparent overlay...

Have read this over several times...Hope it makes sense...Any help is appreciated...
Reply With Quote
  #2  
Old 03-28-2003, 02:17 PM
Mikecrosoft's Avatar
Mikecrosoft Mikecrosoft is offline
Mexican Coder
 
Join Date: Jun 2002
Location: Monterrey, N.L., Mexico
Posts: 2,793
Default

Check about BitBlt API function in the www.allapi.net, also you can do a search and found a lot of samples codes about that function.
__________________
Mikecrosoft.NET
* If I stop to ask I will stop to learn
* Just I know that I don't know nothing
Reply With Quote
  #3  
Old 03-28-2003, 02:54 PM
hipocktT hipocktT is offline
Newcomer
 
Join Date: Mar 2003
Posts: 7
Default transparent picturebox overlay

Quote:
Originally Posted by Mikecrosoft
Check about BitBlt API function in the www.allapi.net, also you can do a search and found a lot of samples codes about that function.


Appreciate the info...Had just come across the allAPI.net site, 15 minutes ago...
Reply With Quote
  #4  
Old 03-28-2003, 03:06 PM
Kaluriel's Avatar
Kaluriel Kaluriel is offline
Senior Contributor
 
Join Date: Jun 2002
Location: Where Heaven & Hell meet
Posts: 813
Default

the most important thing you'll need if you don't use transparentblt is a mask. So lookup bitblt and mask on this forum if you don't
__________________
"They say the the world will end in the same way it was created. I disagree, I think it'll end without the internet" ~ Kaluriel 2001
"The edit button is mightier than the doublepost" ~ Kaluriel 2003
Reply With Quote
  #5  
Old 03-28-2003, 03:49 PM
hipocktT hipocktT is offline
Newcomer
 
Join Date: Mar 2003
Posts: 7
Smile transparent picturebox overlay

Quote:
Originally Posted by Kaluriel
the most important thing you'll need if you don't use transparentblt is a mask. So lookup bitblt and mask on this forum if you don't


Thanx Kaluriel for the help...Been checking the web for bitblt and mask for the last few minutes...As a matter of fact trying to utilize some masking right now...Again thanx
Reply With Quote
  #6  
Old 04-22-2003, 06:57 PM
ml323f ml323f is offline
Newcomer
 
Join Date: Apr 2003
Posts: 15
Default

Quote:
Originally Posted by Kaluriel
the most important thing you'll need if you don't use transparentblt is a mask. So lookup bitblt and mask on this forum if you don't



To my understanding, transparentblt will cause memory leaking. Please correct me if i am wrong.
Btw, have any of you manage to get the transparent picturebox done ?
Thanks
Reply With Quote
  #7  
Old 04-22-2003, 08:13 PM
Garrett Sever's Avatar
Garrett Sever Garrett Sever is offline
Strange Brewer

Retired Moderator
* Guru *
 
Join Date: Jun 2001
Location: AddressOf Insomnia
Posts: 2,815
Default

Quote:
Originally Posted by ml323f
Quote:
Originally Posted by Kaluriel
the most important thing you'll need if you don't use transparentblt is a mask. So lookup bitblt and mask on this forum if you don't



To my understanding, transparentblt will cause memory leaking. Please correct me if i am wrong.
Btw, have any of you manage to get the transparent picturebox done ?
Thanks



TransparentBlt has a memory leak on older systems... namely 9x/ME/NT ones. I believe the issue was fixed under 2000/XP.
__________________
"The lights below
You know they'll bleed forever
Get back as the cores blow
Let me fall..." - Dismantled, "Cornered"
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics - Picturebox Contents MarkS API 8 05-11-2004 03:17 AM
PictureBox BackStyle Transparent Fylom General 9 01-06-2003 08:36 PM
Transparent PictureBox... jeremyrharris Game Programming 3 07-20-2002 02:04 PM
Having the actual picturebox transparent andrewo Game Programming 6 08-06-2001 11:22 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->