How to display Control Panel applets?


We can execute a Control Panel applet by double clicking it. If we want to execute it through a program then the simplest way to do so is to use the ShellExecute( ) API function. The following call to ShellExecute( ) function will execute the Mouse applet.

ShellExecute ( NULL, “open”, “control.exe”, “Mouse”, NULL, SW_NORMAL ) ;

Here, we have executed ‘control.exe’ (which starts Control Panel application) and passed to it ‘Mouse’ as the parameter.

Subscribe / Share

It's very calm over here, why not leave a comment?

Leave a Reply




Categories

Powered by Yahoo! Answers