Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to use Alpha blending on picture boxes 3

Status
Not open for further replies.

CubeE101

Programmer
Nov 19, 2002
1,492
0
0
US
Is there a way to use Alpha blending on picture boxes within a form...

To see the form through a picture box...

I tried using the Picture box's hwnd in place of the form's, but had no luck...

***This will be for WinXP (and maybe Win2K)

Related Thread...
thread222-520827

Have Fun, Be Young... Code BASIC
-Josh Stribling
cubee101.gif

 
BTW...Nevermind...

I figured it out...

X1 = (ScaleX(Width, vbTwips, vbPixels) - ScaleX(ScaleWidth, vbTwips, vbPixels)) \ 2
Y1 = (ScaleY(Height, vbTwips, vbPixels) - ScaleY(ScaleHeight, vbTwips, vbPixels)) - X1
X2 = ScaleX(Width, vbTwips, vbPixels) - X1
Y2 = ScaleY(Height, vbTwips, vbPixels) - X1


Have Fun, Be Young... Code BASIC
-Josh Stribling
cubee101.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top