#include "ltwrappr.h"
virtual L_INT LAnnAutomation::SetAutoMenuEnabled(bEnable=TRUE)
L_BOOL bEnable; |
/* flag that indicates whether to enable automated annotation menus */ |
Enables or disables the automated menus for annotation, which appear when the user clicks the right mouse button.
Parameter |
Description |
bEnable |
Flag that indicates whether to enable or disable the automated annotation menus. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
You can disable the context-sensitive automated menus if you want to change the annotation behavior in automation mode. However, this is not necessary if you only want to change the menu text. For changing the text, refer to LAnnAutomation::SetAutoText.
Required DLLs and Libraries
LTANN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Example
For an example, refer to LAnnAutomation::IsAutoMenuEnabled.