Copyright © 2011-2018 MultiMedia Soft

OnVstEditorResized event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the editor of the VST effect is resized.

 

This event replaces the usage of the CallbackVstEditorResized 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 COMEventsEnable method.

 

For further details about managing a VST effect refer to the How to manage VST effects section.

For further details about methods related to the use of special effects refer to the EffectsMan class.

 

 

Syntax

 

[Visual Basic 6]

Private Sub EditorApi_OnVstEditorResized ( _

ByVal nIdVST as Long, _

ByVal nWidth as Integer, _

ByVal nHeight as Integer _

)

 

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

 

Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj


 

 

Event Data

 

Parameters

Description

 

 

nIdVST

Unique identifier of the VST effect as returned by the Effects.VstLoad method.

nWidth

New width, expressed in pixels, of the VST effect's editor

nHeight

New height, expressed in pixels, of the VST effect's editor