Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
Exchange Links About this site Links to us 
New related comments Number of comments in the last 48 hoursPlay WAV files 1 new comments
|
Display the multimedia properties from the control panel
This article has not been rated yet. After reading, feel free to leave comments and rate it.
Displaying the multimedia properties dialog from the control panel is very easy with the following code; the secret is to know to call rundll32.
 | |  | | begin
WinExec('rundll32 shell32.dll,Control_RunDLL MMSys.cpl,,0',SW_SHOW);
WinExec('rundll32 shell32.dll,Control_RunDLL MMSys.cpl,,1',SW_SHOW);
WinExec('rundll32 shell32.dll,Control_RunDLL MMSys.cpl,,2',SW_SHOW);
WinExec('rundll32 shell32.dll,Control_RunDLL MMSys.cpl,,3',SW_SHOW);
end
| |  | |  |
Comments:
|