Programming Guide |
Turns the cursor on
void sm_c_on(void);
sm_c_on
tells Panther that the normal cursor setting is on. The normal 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_off
to turn the cursor off.
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");