Programming Guide |
Gets the cursor's offset in the current field
int sm_disp_off(void);
- 0 The difference between cursor's position and the start of the field.
sm_disp_off
returns the difference between the field's first position and the current cursor location.sm_disp_off
ignores offscreen data. To get the total cursor offset in a shiftable field, usesm_sh_off
.