AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1253
|
Posted: Sat Feb 17, 2018 8:58 am Post subject: Re: Help! how make CEPANEL Be a Oval shape |
|
|
MateeJr Gaming wrote: | I know CEPanel Shape is rectangle . But i want to change it to Oval , or anything please help me! |
This will give you an idea of your own form.
Edit these codes for better ideas.
Code: | function CEImage2MouseMove(sender, x, y)
UDF1.CEImage3.visible = true
UDF1.CEImage2.visible = false
end
function CEImage3MouseLeave(sender, x, y)
UDF1.CEImage2.visible = true
UDF1.CEImage3.visible = false
end
function CEImage4MouseMove(sender, x, y)
UDF1.CEImage5.visible = true
UDF1.CEImage4.visible = false
end
function CEImage5MouseLeave(sender, x, y)
UDF1.CEImage4.visible = true
UDF1.CEImage5.visible = false
end
function CEImage4Click(sender)
closeCE()
end
function CEImage2Click(sender)
UDF2.WindowState = "wsMinimized"
end
UDF1.CEImage1.OnMouseDown = function() UDF1.DragNow() end
----------------------------------- TRANSPARENT IMAGE CODE BY: FreeER - THANKS.. and a note: never forget to honor the masters!
UDF1.BorderStyle = 'bsNone'
UDF1.Color = 0x87CEEB
UDF1.Constraints.MinWidth = UDF1.CEImage1.Width
UDF1.Constraints.MinHeight = UDF1.CEImage1.Height
local LWA_COLORKEY = 1
local LWA_ALPHA = 2
UDF1.setLayeredAttributes (0x0000FF, 240, LWA_COLORKEY|LWA_ALPHA)
form_onClose(UDF1, CloseTrainer)
function makeFormTransparent(form)
-- THIS IS LITERALLY ALL THE ASSEMBLY SCRIPT WAS DOING! AND YOU DID IT RIGHT UP THERE ^^^
-- just without knowing that 3 was the two flags ORed together and different values
form.setLayeredAttributes(0x87CEEB, 255, LWA_COLORKEY)
end
makeFormTransparent(UDF1)
form_show(UDF1) |
or you can test this on UDF1:
https://www.dropbox.com/s/pqpem369m0w8rfk/Aylinsel_circular_scheme.CT?dl=0
Follow the link below for more advanced Trainer!
_________________
|
|