|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Sets the list of commands that cannot be executed by the user.
Call this method to prevent the user from selecting certain commands. For example, you might want to prevent the user from selecting certain commands for security reasons. See the MDITabsDemo and MenuSubSet samples for examples that use this method.
This method clears the previous list of non-permitted commands. By default, the list of non-permitted commands is empty.