simulate click on buttons in other apps

Hello, I'm just saw a pc maintainence application which has a turbo mode option which changes the look of win 7 from areo to old windows 98 look for increasing performance/speed of pc and i noticed that it does this by changing options in advanced system settings dialog in computer properties. so can anyone please explain the principles behind it and how can i repeat it.

I'm thinking that this can be done by simulating mouse clicks if this is possible
(please explain how can i do that and please give source code)

any help would be appreciated .sorry for my bad english
thank you !!
You can use something like this if you want to set a particular theme programatically and then kill the dialog quickly:
rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:"C:\Windows\Resources\Themes\aero.theme"
Topic archived. No new replies allowed.