Application Theme changes automatically
-
Hi guys, Looking for some help... In my application using VS2008 (MFC 9.0) + SP1, i encountered an error and i felt that it is of the MFC/Framework. I am giving a very simple scenerio, and i hope amy body may reproduce it easyly. Follow these steps: - 1. Create a new MFC Application Project. 2. The type i choose is MultiDoc Application with Doc/View Support and Office Project Style and Ribbon Menu Here my View is derived from CScrollView. Now i Run the Application and changed the theme, say to Silver and now i hibernated the PC. After Starting the PC i got that the application is in the default theme (BLUE). However as i checked the selected style in the menu, its still the Silver. I an expecting any boddy will help me soon.
Regards Harsh
HARSH Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning.
-
Hi guys, Looking for some help... In my application using VS2008 (MFC 9.0) + SP1, i encountered an error and i felt that it is of the MFC/Framework. I am giving a very simple scenerio, and i hope amy body may reproduce it easyly. Follow these steps: - 1. Create a new MFC Application Project. 2. The type i choose is MultiDoc Application with Doc/View Support and Office Project Style and Ribbon Menu Here my View is derived from CScrollView. Now i Run the Application and changed the theme, say to Silver and now i hibernated the PC. After Starting the PC i got that the application is in the default theme (BLUE). However as i checked the selected style in the menu, its still the Silver. I an expecting any boddy will help me soon.
Regards Harsh
HARSH Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning.
The CMFCVisualManagerOffice2007 reset any style to its default
const CMFCVisualManagerOffice2007::Style c_StyleDefault = CMFCVisualManagerOffice2007::Office2007_LunaBlue;
value after the restart... It would be not the case when you would set your own (derivated) VisualManager with the overwritten functionvirtual void OnUpdateSystemColors()
:) -
The CMFCVisualManagerOffice2007 reset any style to its default
const CMFCVisualManagerOffice2007::Style c_StyleDefault = CMFCVisualManagerOffice2007::Office2007_LunaBlue;
value after the restart... It would be not the case when you would set your own (derivated) VisualManager with the overwritten functionvirtual void OnUpdateSystemColors()
:)Thanks Eugen, I'll try n let you know..
HARSH Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning.