Programming Guide



sm_disp_off

Gets the cursor's offset in the current field

int sm_disp_off(void);

Returns

Description

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, use sm_sh_off.

See Also

sm_sh_off