Declared DateTimePicker has tiny text on HiDPI

Found another way: Changing the compatibility settings of the app to system enhanced. Can I do that via a shell or similar too?