Question

I am working on a very large MFC application. There are hundreds of dialogues in this application. Now, I want to change the Background color and Font size of all dialogues in MFC application. How can I do this? Whether I have to handle WM_CTLCOLOR massage for each and every dialogue or any other work around?

Note: I can not use any library like BCGSoft, Xtreme Toolkit.

Was it helpful?

Solution

Create a Dialog class and handle WM_CTLCOLOR massage in that class, Now derive every other Dialog of your MFC application from this class.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top