![]() | ![]() | Programming Guide |
Saves screen contents
char *sm_save_data( void );
C only
- · The address of a memory area that contains the screen's data.
sm_save_datasaves the current screen's data for external access or subsequent retrieval and returns the address of the save area.sm_save_dataignores selections from the following widgets: radio buttons, toggle buttons, check boxes, and list boxes.To restore the saved data, use
sm_restore_data. Usesm_sv_freeto discard a save area.You can get the size of the data with this statement:
length = ((unsigned int *)buffer)[-1];
sm_restore_data, sm_sv_data, sm_sv_free
![]()
![]()
![]()
![]()