Cannot remove custom ribbon controls from quick access toolbar (QAT) menu
<p>I have a custom addin for Word (could also be for Excel).</p>

<p>The addin has a ribbon with multiple groups and multiple controls (buttons) within them.</p>

<p>This is an ongoing project and some of the ribbon buttons are for users, and some are for testing/development purposes.</p>

<p>When I send the product to the client I only show certain buttons. I want the testing buttons to be completely invisible/inaccessible. I Have tried setting the testing buttons/groups to visible = false.</p>

<p>This works, in the sense that the buttons do not appear on the ribbon, but if the user goes to Word's quick access toolbar > "More Commands" > "Choose Commands From" dropdown and selects my custom addin...</p>

<p>Then the user can see all of my buttons. Even the ones with no label. </p>

<p>I have tried looping the controls in the ribbon load method and setting the testing controls to enabled = false, locked = true, generatemember = false, but none of these hide the buttons from the QAT menu. I also tried control.Dispose() - no joy. </p>

<p>Is there anyway to set the properties of a ribbon button such that it is completely invisible and inaccessible to the user in the QAT??</p>

<p>Many thanks</p>