Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents  
 
Spectrum.SetBackPictureFromHandle method 
 
Remarks 
 
Sets a background picture from an existing bitmap handle. 
 
For further details about using the embedded Spectrum refer to the Spectrum class section. 
For details about using Visual Feedbacks refer to the How to use embedded Visual Feedbacks section. 
 
 
Syntax 
 
[Visual Basic] 
Public Function SetBackPictureFromHandle
nPlayerIndex as Int16, 
hBitmap as IntPtr 
 
[C#] 
public enumErrorCodes SetBackPictureFromHandle
Int16 nPlayerIndex
IntPtr hBitmap 
);
 
[C++] 
public: enumErrorCodes SetBackPictureFromHandle
Int16 nPlayerIndex
IntPtr hBitmap 
);
 
 
Parameter
Description
 
 
nPlayerIndex
Number representing the zero-based index of the player that will use the Spectrum
hBitmap
Handle of the bitmap to apply.
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.NOERROR (0)
The method call was successful.
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents