Microsoft DirectX 8.1 (Visual Basic) |
A callback routine for event handles.
object.DXCallback( _ eventid As Long)
If the method fails, an error is raised and Err.Number is set.
When you implement DirectXEvent8 in a form, you must also supply an implementation of the DirectXEvent.DXCallback method. The declaration and end of the method are automatically placed in the Code window when you select DirectXEvent8 in the Object box and DXCallback in the Procedures/Events box. The method takes the following form:
Private Sub DirectXEvent8_DXCallBack(ByVal eventid as Long) ' Add your own event-handling code . . . End Sub
The event handle passed to the method must have been created by DirectX8.CreateEvent.