OnRxChar Event in Serial Port ActiveX Control

The OnRxChar event occurs when there is data in the received queue to be handled.  

OnRxChar(
  LONG Count // CTS signal state
);

Parameters
  On    

  [out] Contains the number of the bytes currently available in the input buffer of the serial port.

 

Remarks
  Note, that the Count variable represents not the number of received bytes but the number of bytes currently available for read. This is the same value that could be received via InCount property.