Click here to Skip to main content
12,549,003 members (47,974 online)
Rate this:
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
Updated 23-Jan-13 22:25pm
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

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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161021.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2016
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