Hi Klaus,
Thank you for your enquiry.
A list of command line parameters which can be used with Media Player 6.2 is available on the Microsoft Knowledgebase:
http://support.microsoft.com/default.as ... -US;241422
However, it appears that it is not possible to control the 'Always on Top' setting from these parameters.
The only solution I can think of would be to modify the registry entry which controls Media Player's On Top behaviour. This appears to be set by the "AlwaysOnTop" key in the following area of the registry:
HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\Settings
If you are using Opus Pro XE 04, you could use a
WriteRegistryValue() function to set this "AlwaysOnTop" key to 'true'. You could then launch Windows Media Player 6.2 with the filename passed as a parameter and the Media Player window should stay on top of other windows.
If you are not using Opus Pro XE 04, you will be unable to directly edit this area of the registry, but there may be freeware utilities available which can modify registry settings based on parameters, or you could include a .reg file on the publication CD containing the required information and launch this file from within the publication (although this will display an on-screen prompt asking the user to agree to the registry changes).
Kind regards,