I have made a tree view control in dialog box, using resource editor.
I have set the checkbox style with SetWindowLongPtr( ... ) function, the way Microsoft described.
Every node has checkbox this way, yet I need only some to have checkbox, and some to have nothing standing next to their text ( parent nodes do NOT have checkbox, only child or simple ones->ones without children ).
Can this be achieved by subclassing, or maybe with custom/owner draw or perhaps superclassing ?
See Question&Answers more detail:os