Copyright © 2008-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.

 

 

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 window whose surface will be used in order to render the graphics of the 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