FaxMan Jr. Controls
Ring Event
See Also  Send comments on this topic.
pnAction
FaxmanJr Object : Ring Event

Glossary Item Box

Description

This event is fired in the context of a Listen method call whenever a ring is detected on the phone line.

Syntax

Visual Basic
Public Event Ring( _
   ByRef pnAction As Integer _
)

Parameters

pnAction

Remarks

When your application receives the Ring event, it may instruct FaxMan Jr. to take one of three actions, depending on the value that pnAction is set to on exit from the event:

 

pnAction = 0 – Do nothing and stop listening for rings.

pnAction = 1 – Keep listening for more rings

pnAction = 2 – Stop listening and attempt to receive a fax.

 

If your application does not set the pnAction return value, the default action is to do nothing and stop listening for rings.

See Also