Copyright © 2005-2023 MultiMedia Soft

COMEventEnable method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables management of a specific type of COM event for legacy COM clients like Visual Basic 6 which are not fully compatible with the usage.of delegates and callbacks.

It's strongly recommended to avoid the usage of this method when developing through Visual Studio .NET.

 

See the Events for Visual Basic 6 COM interoperability section for the full list of available events.

For further details about callback delegates see the How to synchronize the container application with the API tutorial.

 

 

Syntax

 

[Visual Basic]

Public Sub COMEventEnable (

nEventType as enumEventTypes

)


 

[C#]

public void COMEventEnable (

enumEventTypes nEventType

);


 

[C++]

public: void COMEventEnable (

enumEventTypes nEventType

);


 

 

Parameter

Description

 

 

nEventType

Number representing the instance of the BASS module whose handle is needed.

Supported values are the following:

Mnemonic constant

Value

Meaning

EVENT_TYPE_PLAYER

0

Enables the OnPlayersEvents management routine

EVENT_TYPE_CD_DRIVE

1

Enables the OnCdDrivesEvents management routine

EVENT_TYPE_COREAUDIO

2

Enables the OnCoreAudioEvents management routine

EVENT_TYPE_MIDI_MARKER

3

Enables the OnMidiMarkerEvents management routine

EVENT_TYPE_MIDI_STREAM

4

Enables the OnMidiStreamEvents management routine

EVENT_TYPE_MIDI_KEYBOARD

5

Enables the OnMidiKeyboardEvents management routine

EVENT_TYPE_DOWNLOADER

6

Enables the OnDownloaderEvents management routine

EVENT_TYPE_WAVE_SCROLL_MOUSE

7

Enables the OnWaveformScrollerMouseNotif management routine

EVENT_TYPE_WAVE_SCROLL_MANUAL

8

Enables the OnWaveformScrollerManualScroll management routine

EVENT_TYPE_CURVE_DESIGNER

9

Enables the OnCurveDesignerPointsChange management routine

EVENT_TYPE_CASTING

10

Enables the OnCastingEvents management routine

EVENT_TYPE_DEVICE_CHANGE

11

Enables the OnDeviceChange management routine

EVENT_TYPE_DISPLAY_CONFIG_CHANGE

12

Enables the OnDisplayConfigChanged management routine

EVENT_TYPE_ZIP_PERC

13

Enables the OnZipOperationPerc management routine

EVENT_TYPE_TRACKSB_PLAY_HEAD

14

Enables the OnTracksBoardPlayHeadPositionChange management routine

EVENT_TYPE_TRACKSB_RANGE

15

Enables the OnTracksBoardDisplayRangeChange management routine

EVENT_TYPE_TRACKSB_WIDTH

17

Enables the OnTracksBoardDisplayWidthChange management routine

EVENT_TYPE_TRACKSB_MOUSE

18

Enables the OnTracksBoardMouseNotification management routine

EVENT_TYPE_TRACKSB_ITEM_MOVED

19

Enables the OnTracksBoardItemMoving management routine

EVENT_TYPE_TRACKSB_ITEM_SELECTED

20

Enables the OnTracksboardItemSelected management routine

EVENT_TYPE_TRACKSB_ITEM_VOLUME

21

Enables the OnTracksBoardItemVolumeChanged management routine

EVENT_TYPE_TRACKSB_ITEM_CLICK

22

Enables the OnTracksBoardItemClick management routine

EVENT_TYPE_TRACKSB_ITEM_DBL_CLICK

23

Enables the OnTracksBoardItemDblClick management routine

EVENT_TYPE_TRACKSB_PAINT_DONE

24

Enables the OnTracksBoardPaintDone management routine

EVENT_TYPE_YOUTUBE

25

Enables the OnYoutubeEvents management routine

EVENT_TYPE_SOUND_RECOGNIZER

26

Enables the OnSoundRecognizerEvents management routine

EVENT_TYPE_TRACKSB_DROP_FILE

27

Enables the OnTracksBoardDropFile management routine

EVENT_TYPE_TRACKSB_CONTROL

28

Enables the OnTracksBoardControl management routine

EVENT_TYPE_TRACKSB_VERT_LINE_REACHED

29

Enables the OnTracksBoardLineReached management routine

EVENT_TYPE_TRACKSB_VERT_LINE_MOVED

30

Enables the OnTracksBoardLineMoved management routine

 

 

Return value

 

None