|
Copyright © 2002-2005 MultiMedia Soft
Return to index
|
|
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
);
| ||||||
|
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:
|