in Win32 API with c++
I want to put name and id in a listbox by using CreateWindow('listbox',~~ ~); and SendMessage.
ID NAME PET
57 matt dog
But I don't know how to separate a listbox in order to store each name and id, Otherwise do I use another listbox to show it?
Also, I should put extra information about a type of pet if that person has a pet.
In this case, what makes it hard is to show 'dog' in same line as matt.
Lastly, make color of name changed if he has a pet.
I need your help, please