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 


Want to read Listbox

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
scarface010305
Newbie cheater
Reputation: 0

Joined: 15 Jun 2017
Posts: 22

PostPosted: Fri Aug 18, 2017 4:30 am    Post subject: Want to read Listbox Reply with quote

Hey there.

I want to read a ListBox from an Game.
The Game automatically runs an extra Window with a Listbox.

I would like to get the Items from this Listbox, to create a "better" View of what happened.


With this Script i just can read the Title of this Window.
I don't know how i can read the Listbox.

Code:
local handle = findWindow('Example123')
local caption = getWindowCaption(handle)
print(caption)




I just want to know how i can get the Items, so i can work on my own Listbox which only shows what i actually can see..

I hope somebody can help me.


Last edited by scarface010305 on Sun Oct 08, 2017 2:30 am; edited 1 time in total
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 137

Joined: 06 Jul 2014
Posts: 4250

PostPosted: Fri Aug 18, 2017 8:13 am    Post subject: Reply with quote

MSDN

More specifically, you may find EnumChildWindows or FindWindowEx to be useful.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
scarface010305
Newbie cheater
Reputation: 0

Joined: 15 Jun 2017
Posts: 22

PostPosted: Thu Oct 05, 2017 1:43 pm    Post subject: Reply with quote

#Edit:
Thread can be closed
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