Prev: How to read text from a status bar (CStatus) of another application ?
Next: Drawing to a Bitmap
From: Yoavo on 16 Nov 2009 08:46 Hi, I am using a CListCtrl with LVS_EX_CHECKBOXES style, and I want that the checkboxes of the items will show 3-state status (as in regular CheckBox). Unfortunatelly, the API for changing the status of the CheckBoxes is "bool" and not "int" (as in regular CheckBox). Is it possible to have 3-state in the checkboxes of the CListCtrl ? thanks, Yoav.
From: Tom Serface on 16 Nov 2009 11:02 Maybe you could use a technique like this one only put in checkboxes (regular kind) rather than combo boxes: http://www.codeproject.com/KB/combobox/CustomizedReportListCtrl.aspx Tom "Yoavo" <yoav(a)cimatron.co.il> wrote in message news:u0IctMsZKHA.1640(a)TK2MSFTNGP06.phx.gbl... > Hi, > I am using a CListCtrl with LVS_EX_CHECKBOXES style, and I want that the > checkboxes of the items will show 3-state status (as in regular CheckBox). > Unfortunatelly, the API for changing the status of the CheckBoxes is > "bool" and not "int" (as in regular CheckBox). > > Is it possible to have 3-state in the checkboxes of the CListCtrl ? > > thanks, > Yoav.
|
Pages: 1 Prev: How to read text from a status bar (CStatus) of another application ? Next: Drawing to a Bitmap |