Copyright © 2011-2023 MultiMedia Soft

OnTracksBoardPaintDone event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the TracksBoard has completed its graphic rendering, allowing to add custom graphics directly from the container application's code.

 

This event replaces the usage of the CallbackTracksboardPaintDone delegate and is only intended for usage with applications developed using Visual Basic 6 (which results unreliable when dealing with delegates and callbacks) and, in order to be enabled, requires a call to the COMEventEnable method with the nEventType parameter set to EVENT_TYPE_EDT_TRACKSB_PAINT_DONE.

 

 

Syntax

 

[Visual Basic]

EditorApi_OnTracksBoardPaintDone (

ByVal hWnd as Long

)

 

where "EditorApi" is declared in Visual Basic 6 code as:

 

Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj


 

 

Parameter

Description

 

 

hWnd

Handle (HWND) to the window of the TracksBoard: through this handle its possible accessing the handle to the device context (HDC) of the TracksBoard using Windows API, for example through the GetDC and ReleaseDC functions.