views:

62

answers:

1

Hello, I try to get the items from a listview to use them in a combobox, so I can select one of them to create an order. Im my application I use 3 listview in separate forms to store some informations. Based on the informations stored there I want to create a order. I'm using visual c++ 2008 express.

Please help!!!

+1  A: 

Using the plain Win32 API, you use LVM_GETITEM / LVM_GETITEMTEXT / LVM_GETNEXTITEM messages by sending them to the control.
Alternatively you can use the convencience macros ListView_GetItem() / ListView_GetItemText() / ListView_GetNextItem().

Georg Fritzsche