Copyright © 2011-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_EDT_SOUND_DONE

0

Enables the OnSoundPlaybackDone management routine

EVENT_TYPE_EDT_SOUND_STATUS_CHANGED

1

Enables the OnSoundPlaybackStatusChanged management routine

EVENT_TYPE_EDT_PERC

2

Enables the OnPercentage management routine

EVENT_TYPE_EDT_WAVE_SEL_CHANGED

3

Enables the OnWaveformAnalyzerSelection management routine

EVENT_TYPE_EDT_WAVE_RANGE_CHANGED

4

Enables the OnWaveformAnalyzerRange management routine

EVENT_TYPE_EDT_WAVE_WIDTH_CHANGED

5

Enables the OnWaveformAnalyzerWidth management routine

EVENT_TYPE_EDT_WAVE_MOUSE

6

Enables the OnWaveformAnalyzerMouseNotif management routine

EVENT_TYPE_EDT_WAVE_VERT_LINE_MOVED

7

Enables the OnWaveformAnalyzerLineMoved management routine

EVENT_TYPE_EDT_WAVE_VERT_LINE_REACHED

8

Enables the OnWaveformAnalyzerLineReached management routine

EVENT_TYPE_EDT_WAVE_PAINT_DONE

9

Enables the OnWaveformAnalyzerPaintDone management routine

EVENT_TYPE_EDT_WAVE_SCROLL_MOUSE

10

Enables the OnWaveformScrollerMouseNotif management routine

EVENT_TYPE_EDT_WAVE_SCROLL_MANUAL

11

Enables the OnWaveformScrollerManualScroll management routine

EVENT_TYPE_EDT_WAVE_HORZ_LINE_MOVED

12

Enables the OnWaveformAnalyzerHorzLineMoved management routine

EVENT_TYPE_EDT_WAVE_HORZ_LINE_REACHED

13

Enables the OnWaveformAnalyzerHorzLineReached management routine

EVENT_TYPE_EDT_WAVE_HORZ_LINE_LEAVED

14

Enables the OnWaveformAnalyzerHorzLineLeaved management routine

EVENT_TYPE_EDT_WAVE_RANGE_REACHED

15

Enables the OnWaveformAnalyzerWaveRangeReached management routine

EVENT_TYPE_EDT_WAVE_RANGE_LEAVED

17

Enables the OnWaveformAnalyzerWaveRangeLeaved management routine

EVENT_TYPE_EDT_WAVE_ITEM_CLICK

18

Enables the OnWaveformAnalyzerGraphicItemClick management routine

EVENT_TYPE_EDT_WAVE_ITEM_DBL_CLICK

19

Enables the OnWaveformAnalyzerGraphicItemDblClick management routine

EVENT_TYPE_EDT_VU_METER

20

Enables the OnVuMeterValueChange management routine

EVENT_TYPE_EDT_CURVE_DESIGNER

21

Enables the OnCurveDesignerPointsChange management routine

EVENT_TYPE_EDT_EDIT_PERC

22

Enables the OnEditPerc management routine

EVENT_TYPE_EDT_APPEND_PERC

23

Enables the OnAppendAutomationFilePerc management routine

EVENT_TYPE_EDT_CONVERT_PERC

24

Enables the OnConvertFilePerc management routine

EVENT_TYPE_EDT_CONVERT_DONE

25

Enables the OnConvertFileDone management routine

EVENT_TYPE_EDT_VST_PARAM

26

Enables the OnVstParamChanged management routine

EVENT_TYPE_EDT_VST_RESIZE

27

Enables the OnVstEditorResized management routine

EVENT_TYPE_EDT_WAVE_SPECTRAL_START

28

Enables the OnWaveAnalyzerSpectralViewStart management routine

EVENT_TYPE_EDT_WAVE_SPECTRAL_DONE

29

Enables the OnWaveAnalyzerSpectralViewDone management routine

EVENT_TYPE_EDT_TRACKSB_PLAY_HEAD

30

Enables the OnTracksBoardPlayHeadPositionChange management routine

EVENT_TYPE_EDT_TRACKSB_RANGE

31

Enables the OnTracksBoardDisplayRangeChange management routine

EVENT_TYPE_EDT_TRACKSB_WIDTH

32

Enables the OnTracksBoardDisplayWidthChange management routine

EVENT_TYPE_EDT_TRACKSB_MOUSE

33

Enables the OnTracksBoardMouseNotification management routine

EVENT_TYPE_EDT_TRACKSB_ITEM_MOVED

34

Enables the OnTracksBoardItemMoving management routine

EVENT_TYPE_EDT_TRACKSB_ITEM_SELECTED

35

Enables the OnTracksboardItemSelected management routine

EVENT_TYPE_EDT_TRACKSB_ITEM_VOLUME

36

Enables the OnTracksBoardItemVolumeChanged management routine

EVENT_TYPE_EDT_TRACKSB_ITEM_CLICK

37

Enables the OnTracksBoardItemClick management routine

EVENT_TYPE_EDT_TRACKSB_ITEM_DBL_CLICK

38

Enables the OnTracksBoardItemDblClick management routine

EVENT_TYPE_EDT_TRACKSB_PAINT_DONE

39

Enables the OnTracksBoardPaintDone management routine

EVENT_TYPE_EDT_DOWNLOADER

40

Enables the OnDownloaderEvents management routine

EVENT_TYPE_EDT_TRACKSB_DROP_FILE

41

Enables the OnTracksBoardDropFile management routine

EVENT_TYPE_EDT_TRACKSB_CONTROL

42

Enables the OnTracksBoardControl management routine

EVENT_TYPE_EDT_TRACKSB_VERT_LINE_REACHED

43

Enables the OnTracksBoardLineReached management routine

EVENT_TYPE_EDT_TRACKSB_VERT_LINE_MOVED

44

Enables the OnTracksBoardLineMoved management routine

 

 

Return value

 

None