BS_AUTOCHECKBOX and BS_OWNERDRAW can not work together
if you change the buttong to BS_OWNERDRAW style, it is not CheckBox any more. after you have changed the style to BS_OWNERDRAW , the function...