Click here to Skip to main content
Sign Up to vote bad
good
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:47
Edited 23 Jan '13 - 22:25

Comments
Shanu2rick - 24 Jan '13 - 4:01
Please edit your Question(which language are you implementing with?)
Richard MacCutchan - 24 Jan '13 - 5:41
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.
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Mahesh Bailwal 373
1 Sergey Alexandrovich Kryukov 354
2 Maciej Los 245
3 Rohan Leuva 175
4 CPallini 175
0 Sergey Alexandrovich Kryukov 9,287
1 OriginalGriff 7,204
2 CPallini 3,923
3 Rohan Leuva 3,211
4 Maciej Los 2,713


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid