End Google Ads 201810 - BS.net 01 --> //I reposted this message to have it appear in first page of the forum. I didn't get any reply last time, so I hope would be better this time

Hello,
I am having troubles with applying themes to my application. I have a MFC project developed under VS2008 which can by default settings change the appearance (theme) of the mainframe. It is the SDI application with splitters where I use many CformViews. The problem is that the views are not themed at all. I searched many site for solving that problem but found no answer.
- My application automaticly generate the manifest, so I don't think the problem is in that. The mainframe changes the theme.
- in my app class in InitInstance() I call
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
what I found is important for initializing the themes. It was automatically done by VS in my app.

Can you please help me to solve my problem. Do I need to change something in my views?
Thank you very much, Tomas