Programming Guide



sm_c_off

Turns the cursor off

void sm_c_off(void);

Description

sm_c_off tells Panther that the normal cursor setting is off. Use this function when all fields on the current screen are protected. The normal cursor setting is in effect except under these circumstances:

If the display cannot turn its cursor on and off—CON and COF entries are not defined in the video file—this function has no effect.

Use sm_c_on to turn the cursor on.

Example

sm_ferr_reset(0, "Verify that the cursor is turned ON");
sm_c_off();
sm_femsg(0, "Verify that the cursor is turned OFF");
sm_c_on();
sm_femsg(0, "Verify that the cursor is turned ON");

See Also

sm_c_on