Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
PictureTranspFactor property (Cells) 
Remarks
Applies alpha channel transparency to the picture displayed over the cell identified by the UniqueID parameter. 
Further information about cells management can be found inside the How to manage cells section. 
Further information about alpha channel transparency management can be found inside the How to manage alpha channel transparency section.
Get / Set functions
 
short abmCellsGetPictureTranspFactor
HWND hWndBtn
short nUniqueID 
); 
 
BOOL abmCellsSetPictureTranspFactor
HWND hWndBtn
short nUniqueID
short nFactor 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nUniqueID
Numerical value representing the cell's unique identifier.
nFactor
The alpha channel transparency factor. 
This property value can range from a default value of 0 (total opacity) to a value of 255 (total transparency).  A value entered out of this range produces a value of  0. 
Below you can see two buttons: the left one has a cell with a picture (set through the PctureNormal property) inside whose PictureTranspFactor property is set to 0, the cell on the right one has a picture with the PictureTranspFactor property set to 128. 
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index