And what does the TVS_HASBUTTONS style have to do with checkboxes?
Has buttons
Displays plus (+) and minus (-) buttons next to parent items. The user clicks the buttons to expand or collapse a parent item’s list of child items. To include buttons with items at the root of the tree view, Lines at root must be set to true. Type: Bool. Default: False.