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] Dissect Windows

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Wanrltw
Advanced Cheater
Reputation: 0

Joined: 14 Feb 2007
Posts: 55
Location: Hard 2 Find

PostPosted: Sun Nov 04, 2007 5:20 am    Post subject: [Help] Dissect Windows Reply with quote

Can someone help me with renaming windows name so, that it would be freezed. It means it cant change itself?

Example: When i change windows explorers name and then i go to another page, then windows name changes. I would like to freeze name so that when i go to another page, then windows name wouldnt change.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Nov 04, 2007 7:02 am    Post subject: Reply with quote

Hook SetWindowText inside the application in question, (or create a system wide hook if needed), and prevent it from changing.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Wanrltw
Advanced Cheater
Reputation: 0

Joined: 14 Feb 2007
Posts: 55
Location: Hard 2 Find

PostPosted: Sun Nov 04, 2007 7:35 am    Post subject: Reply with quote

Could you explain it a bit easyer?? plz
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Nov 04, 2007 7:03 pm    Post subject: Reply with quote

Wanrltw wrote:
Could you explain it a bit easyer?? plz


You can either do a very lengthy amount of code inside a Cheat Engine script or, read up on a programming language such as C/C++ or ASM for hooking. You can do things fairly easy in C/C++ as there are a lot of examples on the net for hooking, as well as some open source libraries, such as Detours, that make hooking easy.

What you want to do is hook SetWindowText and alter the return from being the normal API return to your own. Force the text to stay the same by either hooking CreateWindow and taking the lpWindowText param from that and storing it to be used inside SetWindowText, or use GetWindowText at least once to store the window title.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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