#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnGetAutoMenuItemEnable(hObject, nObjectType, uItem, puEnable)
HANNOBJECT hObject; |
handle to the annotation object |
L_INT nObjectType; |
type of annotation object |
L_UINT uItem; |
constant for the specified item |
L_UINT * puEnable; |
address of a variable to be updated |
Retrieves a value that indicates whether the specified menu item is enabled or disabled.
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
If for the specified object, the menu items enable state is ANNMENU_DEFAULT, the function determines whether the enable state has been set for objects of the specified type. If the enable state for objects of the specified type is also ANNMENU_DEFAULT, the function determines whether the enable state has been set for ANNOBJECT_ALL. If this is also ANNMENU_DEFAULT, the function determines whether the menu item text is NULL or not NULL. If it is NULL, the function updates puEnable with ANNMENU_DISABLE. If the menu item is not NULL, the function updates puEnable with ANNMENU_ENABLE.
Required DLLs and Libraries
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.
Functions: |
|
|
|
|
L_AnnSetAutoMenuState, L_AnnSetAutoHilightPen, L_AnnSetAutoSnapCursor, L_AnnGetAutoSnapCursor |
Topics: |
|
|
|
|
|
|
|
|
|
|
Annotation Functions (Document/Medical only): Automation Properties |
For an example, refer to L_AnnSetAutoMenuItemEnable.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET