CMFCButton has a BS_OWNERDRAW style by default - you can delete it in OnInitDialog() for your dialog:
mfcButton.ModifyStyle(BS_OWNERDRAW, 0, 0);
However, deleting owner-style styles causes many of the CMFCButton methods to be useless (such as SetTextColor). You can get a button for rendering using the current Windows theme by setting up the visual manager:
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerWindows));
This is done instead of ModifyStyle above, as a result, buttons appear that correspond to the default style, but still have newer rendering functions.
source share