| Using Toolkit Pro 16.2.4.  Consider the following dialog box with 4 columns of 2 tree controls per column.  Separated as follows:   Column 0, Row 0 - CTreeCtrl Column 0, Row 1 - CTreeCtrl with images Column 1, Row 0 - CTreeCtrl with explorer theme  (i.e. Windows SetWindowTheme API) Column 1, Row 1 - CTreeCtrl with images and explorer themeColumn 2, Row 0 - CXTPTreeCtrl Column 2, Row 1 - CXTPTreeCtrlwith images Column 3, Row 0 - CXTPTreeCtrl with explorer theme (i.e. CXTP SetExplorerTheme API) Column 3, Row 1 - CXTPTreeCtrl with images and explorer theme   With checkboxes enabled, this is how CXTPTreeControl compares to the standard tree control:       Following CXTPTreeControl GUI issues are identified: As has been previously noted on this forum, CXTPTreeCtrl doesn't handle checkboxes properly when there isn't an image as well (Column 2, Row 0 and Column 3, Row 0).Not using the themed colors with SetExplorerTheme is enabled.  Compare column 3 with the correct colors in column 1.Nitpick but the expand/collapse icon is one pixel lower than the standard tree control.  Compare Columns 2,3 with Columns 0,1.
 I can fix the GUI issues by using this class instead:   class CXTPTreeCtrlHack : public CXTPTreeCtrl{
 virtual void DoPaint(CDC& dc, BOOL bInternal) { __super::DoPaint(dc, FALSE); }
 };
   But then you lose other CXTPTreeControl features.  Wanted to let you know.  Thanks.     |