Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
abmSetAnimFromNet function 
 
Remarks
Changes one of the animations associated to the button pictures, downloading the animation file from the Internet. 
Accepted extensions for the file are AVI, GIF or AMZ.
Return value
Value
Meaning
 
 
FALSE
The operation failed
TRUE
The operation was successful
Syntax
BOOL abmSetAnimFromNet
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 picture property to change. Supported values are the following: 
Value
Meaning
PICTURE_NORMAL (0)
Changes the animation associated to the Picture property.
PICTURE_PRESSED (1)
Changes the animation associated to the PicturePressed property.
PICTURE_MOUSEOVER (2)
Changes the animation associated to the PictureMouseOver property.
strAddress
String that specifies the Internet address from which the AVI or GIF 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