LlViewerProhibitAction

Syntax:

INT LlViewerProhibitAction (HLLJOB hJob, INT nMenuID);

Task:

Removes buttons from the preview.

Parameter:

hJob: List & Label job handle

nMenuID: ID of the button you wish to remove. You can find the corresponding IDs in the "MenuID.txt" file in your List & Label installation.

Return value:

Error code

Hints:

A 0 as menu ID clears the list of menu items to be suppressed.

If ribbon IDs are specified, the LL_OPTION_RIBBON_FORCEENABLED option can also be used to force the ribbon; otherwise, check whether these IDs would also affect the classic menu. Pass negative ribbon IDs to enable them again.

See also:

LlPreviewDisplay, LlPreviewDisplayEx