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 


Is it possible to disable interaction with a window?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Tue Jul 11, 2017 7:23 am    Post subject: Is it possible to disable interaction with a window? Reply with quote

My question is kind of strange, but I need to do this.
I want the window of my form to have no interaction with the user.
Example if the user clicks the form, the form should not overlap the other windows, and the window at the top should continue at the top.

_________________
...
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Tue Jul 11, 2017 9:23 am    Post subject: Reply with quote

i have no idea on how to do it, but there is some programs that will allow you to drop windows in background.

and your question isnt strange.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Tue Jul 11, 2017 10:02 am    Post subject: Reply with quote

I did an external custom crosshair with the CE, but as the mouse in the games are in the middle of the screen, and my form also, when you try to shoot the form is activated.
_________________
...
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Jul 11, 2017 3:35 pm    Post subject: Reply with quote

Assuming that you are not writing your own program and are limited in that regard, there are ways to disable focus and even mouse clicks for a program. I would look at ultimap for this.
Back to top
View user's profile Send private message
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Tue Jul 11, 2017 5:42 pm    Post subject: Reply with quote

Ultimap does not work on my PC.
Do you know if it's possible to do this in C / C ++?
Because if possible, I could do some assembly code.
After all, part of my script I had to do in assembly, due to CE limitations.

_________________
...
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Jul 11, 2017 6:07 pm    Post subject: Reply with quote

FYI, there is an alternative to ultimap called CDA - Code Dynamic Analysis. It is limited to 32bit targets, however.

Regarding C/C++, I do not see why not. I am not a programmer, but I would assume that basic calls are used in windows for those things. It would just be a matter of identifying them so that you can control them or cancel them out within your program. You can use Ollydbg or x64dbg for this.

That said, there may be a better way.
Back to top
View user's profile Send private message
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Sun Jul 16, 2017 6:54 pm    Post subject: Reply with quote

I've figured out a way to do what I want.
Code:
    autoAssemble([[
    alloc(mem, 100)
    createthread(mem)
    label(name_window)

    mem:
     push esi
     push name_window
     push 00
     call USER32.FindWindowA
     mov esi,eax
     push -14
     push esi
     call USER32.GetWindowLongA
     push 00080020
     push -14
     push esi
     call USER32.SetWindowLongA
     pop esi
     ret

    name_window:
     db 'form',0
    ]], true)

_________________
...
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 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