Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
Texture property 
 
Remarks
The filename or HTTP URL of the texture file displayed over the button surface. 
It is possible to use bitmap files (extension BMP, JPG or PNG). 
If the filename is an HTTP URL it is possible to use the proprietary compressed format AMZ
If you need to download the file from an FTP URL it is possible to use the abmSetPictureFromNet function. 
Below you can see a sample of a button with a blue marble texture applied.  
Get / Set functions
 
BSTR abmGetTexture
HWND hWndBtn 
); 
 
void abmSetTexture
HWND hWndBtn
LPCTSTR strFilename 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
strFilename
String containing the texture pathname.
Notes
If using the abmGetTexture function from within Visual Basic 6, remember to convert the returned value from UNICODE using the StrConv function and its related vbFromUnicode option, as in the sample below: 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index