LContainer::Reset

#include "Ltwrappr.h"

L_INT LContainer::Reset ()

Erases the contents of the container from the screen.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function erases the contents of the container from the screen drawing, but it does not reset the actual container data.

Required DLLs and Libraries

LTCON

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LContainer::Update

Topics:

Displaying Objects

Example

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 ; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Container and Automation C++ Class Library Help