LayerGetCursorAttribΒΆ
LayerGetCursorAttrib returns attributes about the cursor.
- nAttrib = LayerGetCursorAttrib(hLayer)
Return Value
nAttrib is an or combination of the following values:
Name |
Value |
---|---|
CURSOR_SHOWTWO |
1 |
CURSOR_SHOWHORZ |
2 |
CURSOR_INTERPOLATION |
4 |
CURSOR_PRINT |
8 |
CURSOR_ENABLECALLBACK |
16 |
CURSOR_ONLYACTIVEDIA |
32 |
CURSOR_ONLYACTIVEDATASET |
64 |
CURSOR_HIDEGRID |
128 |
Parameters
- hLayer
hLayer is the handle of a diagram (layer).
nAttrib = LayerGetCursorAttrib(hLayer);
if (nAttrib & CURSOR_SHOWTWO) {
// Two cursor are displayed
}
id-1052387