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 


C++ How to access and read a listbox of another application

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
avilo
How do I cheat?
Reputation: 0

Joined: 17 Aug 2010
Posts: 5

PostPosted: Thu Aug 19, 2010 6:57 am    Post subject: C++ How to access and read a listbox of another application Reply with quote

Hi,

I have noticed that I can't copy&paste from the tracer windows in CE what is very bad.

Anybody that has the code to access this windows and its listbox to grab the items/text ?

Thank you.
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: Fri Aug 20, 2010 5:48 am    Post subject: Reply with quote

Use FindWindow or EnumChildWindows to obtain the handle of the window, and then the listbox itself, then you should be able to use SendMessage from there to obtain its items:

http://msdn.microsoft.com/en-us/library/ff485967%28VS.85%29.aspx

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Fri Aug 20, 2010 8:12 am    Post subject: Reply with quote

it's easier to just get the sourcecode of ce and add it in yourself. Including the time it takes to learn object pascal

that's because the listbox only contains the eip and disassembly of the code it went through, not the other registers

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
avilo
How do I cheat?
Reputation: 0

Joined: 17 Aug 2010
Posts: 5

PostPosted: Sun Aug 22, 2010 6:24 am    Post subject: Reply with quote

Unfortunately I'm not that familar with C++ that I can do that all on my own. Tried google to find something, but until now not found any worthy. So still look for a few examples. But thanks for the hint of the right direction. Reading already.

@Darkbyte

I 'm pretty sure to play with the CE sourcecode is over my limits Smile

Would it be a problem to have copy&paste allowed next version? Or is this to time intensive?
Back to top
View user's profile Send private message
XaLeX
Expert Cheater
Reputation: 0

Joined: 19 Aug 2008
Posts: 226

PostPosted: Sun Aug 22, 2010 7:01 am    Post subject: Reply with quote

avilo wrote:
I 'm pretty sure to play with the CE sourcecode is over my limits Smile
it's really easy.. the program is already there, working and compilable.
If you enjoy learning new stuff, some hours (2 or 3 to learn delphi syntax plus 0~infinity depending on your general (language independent) programming knowledge) will get the trick done. Else, somebody with 30 mins or less to spare will write down some code for you.
Back to top
View user's profile Send private message
avilo
How do I cheat?
Reputation: 0

Joined: 17 Aug 2010
Posts: 5

PostPosted: Mon Aug 23, 2010 8:29 am    Post subject: Reply with quote

I prefer the 2nd option, since I wont start with Delphi and all it's stuff what comes with this. I mean I like to learn and can addept things very quick, but at one point I like to go the quick and easy.

Would be lucky to have some tool that can manipulate other programm windows already in the way I wish. But so far haven't found a tool.

Just want to take 1000 lines and compare with another trace and see whether both traces went the same way at all.

Let's see whether there is someone with a snippet what is doing what I'm looking for in C++ so I can modify and use it for the Trace Windows of CE.


bye
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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