DarkTaskDialog
is an excellent way to support a dark version of the task dialog in a MFC project. Example from the documentation:
I have added support for dark mode to about 95% of controls in my MFC application. And, one of the remaining ones is the Date Time Picker Control. The API provides methods to colourize the calendar component, but not the main control. Here are some examples:
Now, DarkTaskDialog
uses Microsoft Detours to override methods and do custom colours. I did some research for the Date Time Picker and found:
So it looks like there are some similar themes colours we could use Microsoft Detours to follow the same principle, to render a dark mode version.
I have not yet ventured into trying to do this because I fear a conflict between having two components both using Microsoft Detours to detour the same function.
Has anyone had experience with using detours for multiple things in the same project?