Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
PictureDisabled property 
 
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 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
strFilename
String containing the picture pathname.
 
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: 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index