Click here to Skip to main content
11,790,904 members (68,043 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C
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 23-Jan-13 21:47pm
Edited 23-Jan-13 22:25pm
Shanu2rick at 24-Jan-13 4:01am
Please edit your Question(which language are you implementing with?)
Richard MacCutchan at 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

you need to get the rect of your second column[^]

and than create there the combobox as child via code.

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

  Print Answers RSS
0 OriginalGriff 410
1 ppolymorphe 385
2 Richard MacCutchan 118
3 Jochen Arndt 80
4 Maciej Los 70
0 OriginalGriff 1,329
1 Maciej Los 835
2 ppolymorphe 780
3 KrunalRohit 686
4 CPallini 661

Advertise | Privacy | Mobile
Web01 | 2.8.1509028.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100