hi
how to SetMask slider
thanks
how to SetMask slider
thanks
--global variable GW_CHILD = 5; --Get the position of the object to mask tblPos = Plugin.GetPos("Slider") --get the handle of the object --I'm using the upper left corner here, but you should use a spot that --is unique only to this control, or where you know it is topmost in the --z-order of controls at that position hwndChild = DLL.CallFunction(_SystemFolder.."\\User32.dll", "GetWindow", Application.GetWndHandle()..","..GW_CHILD, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL) HWnd = DLL.CallFunction(_SystemFolder.."\\User32.dll", "ChildWindowFromPoint", hwndChild..","..tblPos.X..","..tblPos.Y, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL) --set the mask using the handle Window.SetMask(HWnd, "AutoPlay\\Images\\630_11.png", true, 0)
Comment