Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

How to change background color for all dialogs in a Application

$
0
0

Hello,

I'm migrating code from VC6 to VS2012. In my application the background color has been set in application's InitInstance() usingCWinApp::SetDialogBkColor(). But this is no more supported in VS2012 and it shows a compiler warning. I want to get rid of this warning. If I have to useWM_CTLCOLOR , I need to use it in all dialogs. But there are so many dialogs in my application. So pls let me know if there is an easy way to do it.

Thanks and Regards

Karpagam


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>