Click here to Skip to main content
Rate this: bad
good
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 22:47pm
Edited 23-Jan-13 23:25pm
v2
Comments
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
good
Please Sign up or sign in to vote.

Solution 1

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
0 DamithSL 405
1 OriginalGriff 245
2 Sergey Alexandrovich Kryukov 207
3 Peter Leow 185
4 Afzaal Ahmad Zeeshan 154
0 OriginalGriff 7,460
1 DamithSL 5,519
2 Sergey Alexandrovich Kryukov 4,954
3 Maciej Los 4,936
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2014
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