PDA

View Full Version : SetMask in VB


Worm
07-23-2005, 07:38 AM
If anyone here is using SetMask, and would also like to use it in VB, here's the info you would need


Declare Function SetMask Lib "SetMask" (ByVal Hwnd As Long, ByVal sM As String, ByVal sD As String, ByVal sS As String) As Long


Here's the code to use it with a picture box.

x = SetMask(Picture1.Hwnd, "C:\Frame1.bmp", "", "")