Copyright © 2001-2019 MultiMedia Soft

SpectrumEnh.Create method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates an instance of the enhanced spectrum analyzer for the given player on the full client area of the given parent window. The parent window can be changed at a later time through the SpectrumEnh.SetHwnd method.

 

In case you should need to create the enhanced spectrum analyzer on a specific initial position and with a specific initial size you may use the SpectrumEnh.CreateNew method.

 

Once created, by default the enhanced spectrum analyzer is still not visible: you must make a call to the SpectrumEnh.Show method in order to display it.

 

Note that you can have a different enhanced spectrum analyzer for each of the allocated players.

 

For further details about using the Enhanced Spectrum Analyzer refer to the SpectrumEnh section.

For details about using the Enhanced Spectrum Analyzer refer to the How to use the Enhanced Spectrum Analyzer tutorial.

For details about using other embedded Visual Feedbacks refer to the How to use the embedded Visual Feedbacks section

 

 

Syntax

 

[Visual Basic]

control.Spectrum.Create (

nPlayer as Integer,

hWndTarget as OLE_HANDLE

) as enumErrorCodes


 

[C++]

short control.Spectrum.Create (

short nPlayer,

OLE_HANDLE hWndTarget

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will use the spectrum analyzer.

hWndTarget

Handle of the parent window that will contain the enhanced spectrum analyzer. This parameter cannot be set to NULL or 0.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful