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

Glossary Item Box


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


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




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