+ 1
How to add check box and combobox in mfc list control
Hi I would like to have editable list which can allow me to modify value in row collumn... Also for few cells, I would like to add check box as well as combo box Please suggest something or some article if you have come across. Thanks a lot in advance.....!
10 Réponses
+ 1
1. For check box you should set extendet style lvs_ex_checkboxes. Also list should have style report.
2. For combo box there ia not standart method to inserting combo box.
There are a lot of 3party classes for inserting combo to list.
But in principles you should derivite your own class from listctrl.
Reload mouse click setfocus and several notifications.
The best solution to do with yourself, just find CMFCGridCtrl and copy principles of opening combo box. In real life click and other notifications are same
+ 1
But if you want my opinion MFC is old and not usefull framework. QT for your purpose is best solution. It has similar syntax, inctead of C in begining class names ,QT has Q. CListBox, QListBox. Qt more usefull more powerfull, a lot of controls already implemented basically.
+ 1
Oh. I understand you)). Ok just find in codeproject. There are a few classes. 5-6 years ago many different listctrl class were in whole inet, but now it is very dificult to find any good control
+ 1
ok. so you need to catch dblclick of list?!
+ 1
Ketan Lalcheta sorry i had some business and it was difficult to answer you.
ok you need dblclick of liatctrl, bit where you catch it. directly in list or in dilog where liat located
0
Thanks a lot
0
I am writting something on top of existing product which is on mfc... I don't have choice to use another as existing framework is long lasting product which supports many other thing
0
Yeah trying those only but seems a bit difficult to find working it
0
I am sorry if I am bothering you much george ... I have a bad trouble to catch up with double click event of list control...
plz help if you know this
https://www.sololearn.com/Discuss/2461877/?ref=app
I am not sure whether I should link two questions but seems you have good knowledge on mfc so doing here.
0
i answer to you in the post you share here!)