The refnums must register the same events. Display the Context Help window and hover over the wire next to a refnum to see the data type of that refnum.