Copyright © 2006-2019 MultiMedia Soft

SpectrumEnh.Create method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates an instance of the enhanced spectrum analyzer 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.

 

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 (

hWndTarget as OLE_HANDLE

) as enumErrorCodes


 

[C++]

short control.Spectrum.Create (

OLE_HANDLE hWndTarget

);


 

 

Parameter

Description

 

 

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