Erases the contents of the container from the screen.
#include "Ltwrappr.h"
L_INT LContainer::Reset ()
| Value | Meaning |
|---|---|
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes. |
This function erases the contents of the container from the screen drawing, but it does not reset the actual container data.
This example will reset the container drawing contents.
L_INT LContainer_ResetExample(LContainer & lcont){L_INT nRet;nRet = lcont.IsValid ();if ( nRet == SUCCESS ) /* check the validity of container handle */{/* Reset the container drawing on the screen (if any) */nRet = lcont.Reset () ;if(nRet != SUCCESS)return nRet;}else{return nRet ;}return SUCCESS ;}