Programming Guide |
Turns the cursor off
void sm_c_off(void);
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:
- The cursor is off when a block cursor is in use, as during menu processing.
- The cursor is off while screen manager functions are writing to the display.
- The cursor is on within certain error message display functions.
If the display cannot turn its cursor on and off—
CON
andCOF
entries are not defined in the video file—this function has no effect.Use
sm_c_on
to turn the cursor on.
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");