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 


form shadows

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
.lua
Expert Cheater
Reputation: 1

Joined: 13 Sep 2018
Posts: 189

PostPosted: Wed Dec 26, 2018 11:42 am    Post subject: form shadows Reply with quote

Help me to achieve borderless form shadows


F2349AB5-E443-4130-9B5D-E80CA31724CF.png
 Description:
 Filesize:  85.93 KB
 Viewed:  1536 Time(s)

F2349AB5-E443-4130-9B5D-E80CA31724CF.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Wed Dec 26, 2018 12:02 pm    Post subject: Reply with quote

set borderstyle to bsNone
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
.lua
Expert Cheater
Reputation: 1

Joined: 13 Sep 2018
Posts: 189

PostPosted: Wed Dec 26, 2018 12:07 pm    Post subject: Reply with quote

I've set it up, but how can I add shadows?
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 31

Joined: 16 Feb 2017
Posts: 1234

PostPosted: Thu Dec 27, 2018 1:52 am    Post subject: Reply with quote

.lua wrote:
I've set it up, but how can I add shadows?


If there is no shadow in the Windows system,
you have to code it.
There may be a Rainbow or Border encoding.
I offer an alternative below,
Just the first step to developing options.


Code:
-- UDF1=youForm
UDF1.setLayeredAttributes(0x000100, 230, LWA_COLORKEY | LWA_ALPHA )
UDF1.BorderStyle=bsNone
UDF1.Color=0x000100
UDF1.CEPanel2.OnMouseDown = function() UDF1.DragNow() end
UDF1.show()


Enjoy it!



Shadow.PNG
 Description:
Panel1 = Shadow
Panel2 = Main Floor
 Filesize:  305.17 KB
 Viewed:  1496 Time(s)

Shadow.PNG



_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
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 Visit poster's website MSN Messenger
.lua
Expert Cheater
Reputation: 1

Joined: 13 Sep 2018
Posts: 189

PostPosted: Thu Dec 27, 2018 6:16 am    Post subject: thank you Reply with quote

Yeah, I've tried this, but it doesn't look natural. I think there should be a better solution.
Back to top
View user's profile Send private message
noobes
Advanced Cheater
Reputation: 0

Joined: 17 Dec 2018
Posts: 89

PostPosted: Fri Dec 28, 2018 4:38 am    Post subject: Reply with quote

Here's my method


Capture.PNG
 Description:
 Filesize:  66.82 KB
 Viewed:  1451 Time(s)

Capture.PNG


Back to top
View user's profile Send private message
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