PrepareForReplay(UInt32) Method
The parameter value is created with a bitwise OR operation on the values of PREPARE_MASK
Prepares the Control for a replay action.
Remarks

CallPrepareForReplay as the first instruction of each replay function. If PrepareForReplay is not called before any call that accesses the custom control, the results are unpredictable.

The most common use is to check that the object is visible and try to give it focus
Syntax
'Declaration
 
Public Overloads Sub PrepareForReplay( _
   ByVal PrepareMask As System.UInteger _
) 
public void PrepareForReplay( 
   System.uint PrepareMask
)

Parameters

PrepareMask
The parameter value is created with a bitwise OR operation on the values of PREPARE_MASK