ListCtrl
-
Hi, I want to disable multiple row select in a list control. It should select only one row at a time how can i do this. Thanks
-
Hi, I want to disable multiple row select in a list control. It should select only one row at a time how can i do this. Thanks
In design view select list control properties->styles->single selection check this box , u r job is done ! Muthu Ramji.Al.V Software developer(VC++) Sify Limited muthu_ramji@sifycorp.com
-
In design view select list control properties->styles->single selection check this box , u r job is done ! Muthu Ramji.Al.V Software developer(VC++) Sify Limited muthu_ramji@sifycorp.com
I want to do it programatically. It is in LVS_REPORT style. What you are saying is for ListBoxCtrl. Thanks
-
I want to do it programatically. It is in LVS_REPORT style. What you are saying is for ListBoxCtrl. Thanks
Dear friend, if u have 2 do in code then try this, 1. //-------- Start create a list control using dwstyle LVS_SINGLESEL CListCtrl* pmyListCtrl=new CListCtrl; pmyListCtrl->Create(WS_CHILD|WS_VISIBLE|WS_BORDER|LVS_REPORT|LVS_SINGLESEL ,CRect(10,10,300,200), this, 1); //--------- 2.same can be done with visual design mode as i said earlier. Both in list box & list control v have that check box. Kindly check in property dialog box 3.if u want i will help with a demo program