Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
PictureTranspMode property 
 
Remarks
Specifies the way used to render in transparency the pictures or animations over the button. 
Applies on picture or animation files selected on Picture, PictureMouseOver, PicturePressed and PictureDisabled properties.
Get / Set functions
 
BOOL abmGetPictureTranspMode
HWND hWndBtn 
); 
 
void abmSetPictureTranspMode
HWND hWndBtn
short nMode 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nMode
Specifies the transparent mode. Supported values are the following: 
Value
Meaning
TRANSPMODE_USECOLOR (0)
Uses the PictureTranspColor property setting.
TRANSPMODE_USELEFTOP_PIXEL (1 default)
Uses the picture (or animation) Left Top pixel color as transparent.
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_MODE
newValue
Same meaning of the nMode parameter described before
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index