Click here to Skip to main content
15,909,466 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I have a win32 program. There is a listview control which contains two columns.Now i need the second column be a combo control.How could it be implemented.No using MFC. just use C to implement the code.

Thank you all.
Posted
Updated 23-Jan-13 22:25pm
v2
Comments
Shanu2rick 24-Jan-13 4:01am    
Please edit your Question(which language are you implementing with?)
Richard MacCutchan 24-Jan-13 5:41am    
I have never tried this, but I expect you would have to add it manually at the actual cell position, and show it when the user tabs to that cell.

1 solution

you need to get the rect of your second column

http://msdn.microsoft.com/en-us/library/bb761049(v=vs.85).aspx[^]

and than create there the combobox as child via code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900