|
Copyright © 2002-2009 MultiMedia Soft
Return to index
|
|
Remarks
|
The filename or HTTP URL of the picture displayed over the button surface when the button is disabled.
It is possible to use bitmap files (extension BMP, GIF, 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.
To render a picture color transparent use the PictureTranspColor property.
To make the picture background transparent use the PictureTranspMode property.
| ||||||
|
Get / Set functions
|
BSTR abmGetPictureDisabled (
HWND hWndBtn
);
void abmSetPictureDisabled (
HWND hWndBtn,
LPCTSTR strFilename
);
| ||||||
|
|
If using the abmGetPictureDisabled 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:
|