Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
abmSetPictureFromNet function 
 
Remarks
Changes one of the button pictures downloading a picture file from the Internet. 
Accepted extensions for the file are BMP, PNG or AMZ.
Return value
Value
Meaning
 
 
FALSE
The operation failed
TRUE
The operation was successful
Syntax
 
long abmSetPictureFromNet
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 Picture property.
PICTURE_PRESSED (1)
Changes the PicturePressed property.
PICTURE_MOUSEOVER (2)
Changes the PictureMouseOver property.
PICTURE_CUSTOM (3)
Changes the PictureCustom property
PICTURE_TEXTURE (4)
Changes the Texture property
PICTURE_DISABLED (5)
Changes the PictureDisabled 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