Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
PictureTranspFactor property 
 
Remarks
Applies alpha channel transparency to the pictures displayed over the button's surface. 
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 picture whose PictureTranspFactor property is set to 0, the right one has a picture use PictureTranspFactor property is set to 128. 
 
Applies on picture or animation files selected on Picture, PictureMouseOver, PicturePressed and PictureDisabled properties. 
Further information about alpha channel transparency management can be found inside the How to manage alpha channel transparency section.
Get / Set functions
 
ULONG abmGetPictureTranspFactor
HWND hWndBtn 
); 
 
void abmSetPictureTranspFactor
HWND hWndBtn
short nFactor 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nFactor
Specifies the transparent factor.
Container function
 
short abmContainerSetting
HWND hWndContainer
short nSetting
long newValue 
); 
 
Parameters
Description
hWndContainer
Windows handle associated to the button container.
nSetting
Must be set to SET_PICT_TRANSP_FACTOR
newValue
Same meaning of the nFactor parameter described before
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index