| View previous topic :: View next topic |
| Author |
Message |
Wanrltw Advanced Cheater
Reputation: 0
Joined: 14 Feb 2007 Posts: 55 Location: Hard 2 Find
|
Posted: Sun Nov 04, 2007 5:20 am Post subject: [Help] Dissect Windows |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Nov 04, 2007 7:02 am Post subject: |
|
|
Hook SetWindowText inside the application in question, (or create a system wide hook if needed), and prevent it from changing.
_________________
- Retired. |
|
| Back to top |
|
 |
Wanrltw Advanced Cheater
Reputation: 0
Joined: 14 Feb 2007 Posts: 55 Location: Hard 2 Find
|
Posted: Sun Nov 04, 2007 7:35 am Post subject: |
|
|
| Could you explain it a bit easyer?? plz
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Nov 04, 2007 7:03 pm Post subject: |
|
|
| 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 |
|
 |
|