I have created a custom ribbon button (Large Button) and a text field (Small Input Box). I can disable/enable these controls just fine when clicking an item (by the
CommandState QueryState() override).
However, when clicking the button, I need to set some text to the text field and disable the button, and I haven't found any ways to do this.
How can I set the state (enable/disable, text) of other ribbon controls from a custom button?