|
-
Jun 29th, 2000, 01:21 PM
#1
Thread Starter
Member
I NEED TO KNOW HOW TO MAKE A PICTURE BOX "TRANSLUCENT" NOT "TRANSPARENT"
sorry for the caps
i want it so that u can see the textbox behind it and see all the changes in the textbox
if anybody can help DO IT
-
Jun 30th, 2000, 06:28 PM
#2
Fanatic Member
If you know how to make the picturebox transparent - your'e half way there, as in translucent images only some of the pixels are visible whilst others are transparent.
Image a chequerboard if you will where all the squares of one colour are transparent and others are not.
DocZaf
{;->
-
Jun 30th, 2000, 07:49 PM
#3
transcendental analytic
There's a transparent picturebox control on my homepage
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 30th, 2000, 07:54 PM
#4
Then you can use the PSet method for every other Pixel to make it look Translucent.
-
Jun 30th, 2000, 10:26 PM
#5
transcendental analytic
You cannot pset on a textbox
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jul 1st, 2000, 09:11 AM
#6
I know that. But you can PSet on a PictureBox, which is what I said.
-
Jul 1st, 2000, 09:39 AM
#7
Addicted Member
What does the PSet method do ? And how does it work ?
-
Jul 1st, 2000, 05:31 PM
#8
transcendental analytic
Pset plots a single pixel in a specified color, and i won't make your picturebox transculent, you need to cut regions and ****, download my ocx control and use the mask color to set the parts you want to be transculent...
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jul 1st, 2000, 07:51 PM
#9
Here is an example of how to use the PSet method.
Code:
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
'Set a Blue Pixel at the X and Y Coordinates
Me.PSet (X, Y), vbBlue
End Sub
-
Jul 2nd, 2000, 04:49 AM
#10
transcendental analytic
If you still bother to use pset i would suggest to use setpixelv api method instead meg, since psetting will slow down a transculent procedure to the state of uselessness
Code:
Declare Function SetPixelV Lib "gdi32" Alias "SetPixelV" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long
'To use
SetPixelV Me.hdc,X,Y,vbBlue
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|