|
static |
Sets a list of commands, which are not allowed to be executed by the user.
Use this function to provide a list of commands, which are not allowed to be executed by the user (for security reasons, for example).
When you call the SetNonPermittedCommands function, the previous list of non-permitted commands is cleared.
By default, the list of non-permitted commands is empty.
lstCommands | A reference to CList object containing non-permitted commands. |
bUpdateExistingToolBars | Set this parameter to TRUE if you wish to updated all existing toolbars (for example, hide buttons with "non-permitted" commands) |
bCheckForChanges | Tells whether the command list should be compared with existing and, if there are no changes, don't perform any actions. |