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++] ListView Updating

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Sun Jul 27, 2008 11:15 pm    Post subject: [C++] ListView Updating Reply with quote

Guys, do you know of a way, where i can edit the value of the 3rd SubItem in a ListView, Memory Reading Wise.

BTW: IDE : CodeGear C++
Back to top
View user's profile Send private message AIM Address MSN Messenger
DoomsDay
Grandmaster Cheater
Reputation: 0

Joined: 06 Jan 2007
Posts: 768
Location: %HomePath%

PostPosted: Mon Jul 28, 2008 3:12 am    Post subject: Reply with quote

SendMessage with LVM_SETITEM
Back to top
View user's profile Send private message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Mon Jul 28, 2008 11:41 am    Post subject: Reply with quote

I'm not using CreateWindow. So im guessing i need to get the HWND of my list view through FindWindowEx?
Back to top
View user's profile Send private message AIM Address MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Jul 28, 2008 11:50 am    Post subject: Reply with quote

GetDlgItem( hWnd, ID_CONTROL ) to get the handle

the hWnd is provided in the message loop

_________________
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Mon Jul 28, 2008 11:50 am    Post subject: Reply with quote

You can use GetDlgItem.

Edit: blank rider beat me. Confused


Last edited by Symbol on Mon Jul 28, 2008 11:51 am; edited 1 time in total
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Mon Jul 28, 2008 11:51 am    Post subject: Reply with quote

Even if your using dialogs you should be able to set some dialog id of some sort... If you can find out that you can just use SendDlgItemMessage.

Edit:
Damn, Beat to it.

_________________
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