|
-
Aug 27th, 2002, 05:37 PM
#1
Thread Starter
Fanatic Member
Well...
I dont hav vb.net... but here's a method that could work... :
use 2 pictures boxes,(if they still exist in vbnet)
1 Tha Mask, : Backcolor = Black, Anything Not Tranparent = White
The other one, tha Picture, Backcolor = White, Other = True Color
PaintPicture PictureMasked.Picture, 0, 0, , , , , , , vbSrcPaint
PaintPicture PictureNormal.Picture, 0, 0, , , , , , , vbSrcAnd
Easy no? Thats to put on a form, (0, 0) iz just the x and y...
If you wanna use those on a picture box, do this:
PictureBox1.PaintPicture PictureMasked.Picture, 0, 0, , , , , , , vbSrcPaint
PictureBox1.PaintPicture PictureNormal.Picture, 0, 0, , , , , , , vbSrcAnd
He' Ya go...
Message from a 17 years ol' kido...
-
Aug 27th, 2002, 05:40 PM
#2
Thread Starter
Fanatic Member
Re: Well...
Woooooooops, suppost to be posted for the transparency question, sorry bout that folks............
--------------------------------------------------------------------------------
Originally posted by Ruku
I dont hav vb.net... but here's a method that could work... :
use 2 pictures boxes,(if they still exist in vbnet)
1 Tha Mask, : Backcolor = Black, Anything Not Tranparent = White
The other one, tha Picture, Backcolor = White, Other = True Color
PaintPicture PictureMasked.Picture, 0, 0, , , , , , , vbSrcPaint
PaintPicture PictureNormal.Picture, 0, 0, , , , , , , vbSrcAnd
Easy no? Thats to put on a form, (0, 0) iz just the x and y...
If you wanna use those on a picture box, do this:
PictureBox1.PaintPicture PictureMasked.Picture, 0, 0, , , , , , , vbSrcPaint
PictureBox1.PaintPicture PictureNormal.Picture, 0, 0, , , , , , , vbSrcAnd
He' Ya go...
Message from a 17 years ol' kido...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|