VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Make form transparent with a simple code

by Lionheart (1 Submission)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 4th November 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Make form transparent with a simple code

API Declarations



Private Declare Function SetWindowRgn Lib "user32" Alias "SetWindowRgn" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long

Dim leon as long
dim tidus as long
dim yuna as long


Rate Make form transparent with a simple code



yuna = (me.height/ screen.twipsperpixelY) + 2000
leon = OffSetClipRgn(me.hdc,tidus,yuna)
SetWindowRgn (me.hwnd,leon,true)

Download this snippet    Add to My Saved Code

Make form transparent with a simple code Comments

No comments have been posted about Make form transparent with a simple code. Why not be the first to post a comment about Make form transparent with a simple code.

Post your comment

Subject:
Message:
0/1000 characters