LAutomation::Select

#include "ltwrappr.h"

L_INT LAutomation::Select(nSelect, dwFlags=0)

Selects or unselects all objects within the active automation container.

Parameters

AUTOMATIONSELECT nSelect

An integer value that indicates whether to select or unselect the items in the active automation container. Possible values are:

Value Meaning
AUTOMATION_SELECT_NONE Unselect the entire container.
AUTOMATION_SELECT_ALL Select the entire container.

L_UINT32 dwFlags

Reserved for future use. Must be 0.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

See Also

Topics

Example

This example shows how to use the automation select function.

L_INT LAutomation_SelectExample(LAutomation &lauto) 
{ 
   L_INT nRet; 
 
   nRet = lauto.IsValid (); 
 
   if ( SUCCESS == nRet ) /* check the validity of the automation handle */ 
 
   { 
 
      /* select all of the current automation container data */ 
 
      nRet = lauto.Select (AUTOMATION_SELECT_ALL, 0 ) ; 
      if(nRet != SUCCESS) 
         return nRet; 
 
   } 
 
   else 
 
   { 
 
      return nRet ; 
 
   } 
 
      return SUCCESS ; 
 
} 

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C++ Class Library Help