Ted Singh
06-19-2008, 09:53 PM
It may be desirable to hide the "Settings" button on your HTML-based mControl clients (mControl for MCE 2005 or mControl for IE) to avoid undesired entry/changes to your mControl configuration. The following change will allow you to hide the "Settings" button and is provided as an unsupported "hack" - only attempt this if you are comfortable working with XML/Text files:
1. Navigate to the C:\Program Files\Embedded Automation\mControl\xml directory
2. Using a text editor, open the "Default.xml" file. (It's recommended that you create a backup of the file before you make any changes to it.) On or around line 45, you'll want to adjust the style element, changing it to "VISIBILITY: hidden" (without quotes). Save and exit the file.
<button id="setting">
<name>01002</name>
<class>Button</class>
<style>VISIBILITY: hidden</style>
<order>0</order>
<setInfo>01003</setInfo>
<mHomeFunction>SettingLink</mHomeFunction>
<MCFocusable>true</MCFocusable>
<type>Button</type>
</button>
3. Clear your temporary internet files, to remove the previous settings from your browser's cache. Now, your mControl HTML-based clients should no longer show the "Settings" button.
1. Navigate to the C:\Program Files\Embedded Automation\mControl\xml directory
2. Using a text editor, open the "Default.xml" file. (It's recommended that you create a backup of the file before you make any changes to it.) On or around line 45, you'll want to adjust the style element, changing it to "VISIBILITY: hidden" (without quotes). Save and exit the file.
<button id="setting">
<name>01002</name>
<class>Button</class>
<style>VISIBILITY: hidden</style>
<order>0</order>
<setInfo>01003</setInfo>
<mHomeFunction>SettingLink</mHomeFunction>
<MCFocusable>true</MCFocusable>
<type>Button</type>
</button>
3. Clear your temporary internet files, to remove the previous settings from your browser's cache. Now, your mControl HTML-based clients should no longer show the "Settings" button.