Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help! how make CEPANEL Be a Oval shape

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
MateeJr Gaming
Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 41

PostPosted: Sat Feb 17, 2018 7:44 am    Post subject: Help! how make CEPANEL Be a Oval shape Reply with quote

I know CEPanel Shape is rectangle . But i want to change it to Oval , or anything please help me!
_________________
MateeJr Gaming
MASTERCHEATER
:v
subs MateeJr Gaming
Lynxz Gaming
Back to top
View user's profile Send private message
Aylin
Expert Cheater
Reputation: 2

Joined: 16 Feb 2017
Posts: 154

PostPosted: Sat Feb 17, 2018 8:58 am    Post subject: Re: Help! how make CEPANEL Be a Oval shape Reply with quote

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: Wink
https://www.dropbox.com/s/pqpem369m0w8rfk/Aylinsel_circular_scheme.CT?dl=0

Follow the link below for more advanced Trainer!

_________________
See Hitler ! This Trainer is for you!
http://forum.cheatengine.org/viewtopic.php?t=606786
Enthusiastic people: Always one step ahead!
Do not underestimate me Master: You were a beginner in the past!
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites