Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
abmSetSoundFromNet function 
 
Remarks
Changes one of the sounds at runtime downloading a sound file from the Internet. 
Accepted extensions for the file are WAV or AMZ.
Return value
Value
Meaning
 
 
FALSE
The operation failed
TRUE
The operation was successful
Syntax
 
long abmSetSoundFromNet
HWND hWndBtn
short index
LPCTSTR strAddress
LPCTSTR strUsername
LPCTSTR strPassword 
); 
 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
index
Numerical value that represents the index of the sound property to change. Supported values are the following: 
Value
Meaning
SOUND_DOWN (0)
Changes the SoundDown property
SOUND_UP (1)
Changes the SoundUp property
SOUND_MOUSEOVER (2)
Changes the SoundMouseOver property
SOUND_MOUSEOUT (3)
Changes the SoundMouseOut property
strAddress
String that specifies the Internet address from which the WAV or AMZ file will be loaded; only URLs beginning with ftp: or http: are supported.
strUsername
String that specifies the name of the user to log in. Useful only if the URL is FTP.
strPassword
String that specifies the password to use to log in. Useful only if the URL is FTP.
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index