| View previous topic :: View next topic |
| Author |
Message |
slippppppppp Grandmaster Cheater
Reputation: 0
Joined: 08 Aug 2006 Posts: 929
|
Posted: Sun Jul 27, 2008 11:15 pm Post subject: [C++] ListView Updating |
|
|
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 |
|
 |
DoomsDay Grandmaster Cheater
Reputation: 0
Joined: 06 Jan 2007 Posts: 768 Location: %HomePath%
|
Posted: Mon Jul 28, 2008 3:12 am Post subject: |
|
|
| SendMessage with LVM_SETITEM |
|
| Back to top |
|
 |
slippppppppp Grandmaster Cheater
Reputation: 0
Joined: 08 Aug 2006 Posts: 929
|
Posted: Mon Jul 28, 2008 11:41 am Post subject: |
|
|
| I'm not using CreateWindow. So im guessing i need to get the HWND of my list view through FindWindowEx? |
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Mon Jul 28, 2008 11:50 am Post subject: |
|
|
GetDlgItem( hWnd, ID_CONTROL ) to get the handle
the hWnd is provided in the message loop _________________
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Mon Jul 28, 2008 11:50 am Post subject: |
|
|
You can use GetDlgItem.
Edit: blank rider beat me. 
Last edited by Symbol on Mon Jul 28, 2008 11:51 am; edited 1 time in total |
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Mon Jul 28, 2008 11:51 am Post subject: |
|
|
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 |
|
 |
|