Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
Surface property 
 
Remarks
Specifies the button surface type.
Get / Set functions
 
short abmGetSurface
HWND hWndBtn 
); 
 
void abmSetSurface
HWND hWndBtn
short nSurface 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nSurface
Specifies the special effect factor applied. Supported values are the following: 
Mnemonic constant
Value
Meaning
SURFACE_HARD
0 (default)
Hard pillow. Below you can see a sample of the button surface in Normal and Pressed state: 
SURFACE_SOFT
1
Soft pillow: this kind of surface differs from the previous Hard pillow surface only when the button is in Pressed state. Below you can see a sample of the button surface in Normal and Pressed state: 
SURFACE_FLAT
2
Flat 
SURFACE_FLATPIL
3
Flat pillow 
SURFACE_SUNKEN
4
Sunken pillow 
SURFACE_PLASTIC
5
Plastic look 
SURFACE_LUCID
6
Lucid look 
SURFACE_NEON
7
Neon look 
SURFACE_AQUA
8
Aqua look 
SURFACE_GEL
9
Gel look 
SURFACE_PLASTIC_SHAPED
10
Plastic shaped look 
SURFACE_NEON_SHAPED
11
Neon shaped look 
SURFACE_AQUA_SHAPED
12
Aqua shaped look 
SURFACE_GEL_SHAPED
13
Gel shaped look 
SURFACE_VISTA_AERO (*)
14
Windows Vista's "Aero" look 
SURFACE_OFFICE_2003 (*)
15
Office 2003 look 
SURFACE_OFFICE_2007 (*)
16
Office 2007 look 
(*) Surface not available when the Shape property is set to one of the following values: 
SHAPE_PARALLEL 
SHAPE_CUSTOM 
SHAPE_TRIANGLE 
SHAPE_TRAPEZE 
SHAPE_ARROW 
SHAPE_HONEYCOMB_45 
SHAPE_HONEYCOMB_135 
SHAPE_DIAMOND 
SHAPE_KEYHOLE 
SHAPE_4LEAFCLOVER_V 
SHAPE_4LEAFCLOVER_D 
SHAPE_ALFALFA
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_SURFACE
newValue
Same meaning of the nSurface parameter described before
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index