Theme changes on Windows 10 using a custom application

  • Thread starter Thread starter Abhijeet Pise
  • Start date Start date
A

Abhijeet Pise

Guest
Hi,

I have an MFC application which does not give user the access to windows explorer unless otherwise signed as an administrator. However, my application requires Windows themes to be changed using a custom dialog box. I have created a process which invokes a command prompt and runs the theme file from a custom location.

The problem with this is:

1) While changing the theme, a "Please Wait" screen appears which has a blue background or any background depending on the nature of the current windows theme. I have created a custom "please wait" screen such that when the theme gets executed in the background this dialog appears. I have tried doing a "set focus" until the thread is busy but then the thread does not get executed at all during the application lifetime and gets executed when the application is killed externally.


2) After a theme change, a "Settings" page gets popped up which I have managed using some of the discussion threads:

a) taskkill

b) disabling control panel access

c) disabling personalization access

but this could not help as the settings page do get popped up.


Can you suggest any tweaks for the problems above which could help?

Continue reading...
 
Back
Top