Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
abmContainerSetting function 
 
Remarks
Given a container, changes the given property for all the buttons inside the container itself.
Return value
Value
Meaning
 
 
-1
The operation failed, probably because the given container doesn't exist.
0
The operation was successful
Syntax
short abmContainerSetting
HWND hWndContainer
short nSetting
long newValue 
); 
 
Parameters
Description
hWndContainer
Windows handle associated to the button container.
nSetting
Must be set to to the value associated to the property that must be changed. Supported values are the following: 
Mnemonic constant
Value
Meaning
SET_SHAPE
0
Changes the Shape property value
SET_ROUNDNESS
1
Changes the Roundness property value
SET_SLANT
2
Changes the Slant property value
SET_SURFACE
3
Changes the Surface property value
SET_COLOR_BACKGROUND
4
Changes the BackColor property value
SET_COLOR_FOREGROUND
5
Changes the ForeColor property value
SET_COLOR_MOUSEOVER
6
Changes the BackColorMouseOver property value
SET_COLOR_FOCUS
7
Changes the BackColorFocus property value
SET_COLOR_INTERIOR
8
Changes the BackColorInterior property value
SET_COLOR_TRANSP
9
Changes the PictureTranspColor property value
SET_COLOR_CONTAINER_BACK
10
Changes the BackColorContainer property value
SET_COLOR_HIGHLIGHT
11
Changes the HighlightColor property value
SET_COLOR_SHADOW
12
Changes the ShadowColor property value
SET_COLOR_TEXTURE_MIX
13
Changes the TextureColorMix property value
SET_COLOR_BACKGROUND_DISABLED  
14
Changes the BackColorDisabled property value
SET_COLOR_FOREGROUND_DISABLED
15
Changes the ForeColorDisabled property value
SET_COLOR_BACKGROUND_PRESSED
16
Changes the BackColorPressed property value
SET_PICT_XOFFSET
17
Changes the PictureXOffset property value
SET_PICT_YOFFSET
18
Changes the PictureYOffset property value
SET_PICT_POS
19
Changes the PicturePosition property value
SET_PICT_TRANSP_MODE
20
Changes the PictureTranspMode property value
SET_PICT_FIT_IN_BTN
21
Discontinued.
SET_PICT_KEEP_RATIO
22
Changes the PictureKeepRatio property value
SET_PICT_MOVE
23
Changes the MovePictureOnPress property value
SET_BTN_RAISED
24
Discontinued.
SET_SMOOTH_EDGES
25
Changes the SmoothEdges property value
SET_FOCUS_MODE
26
Changes the FocusMode property value
SET_SPECIAL_EFFECT
27
Changes the SpecialEffect property value
SET_SPECIAL_EFFECT_FACTOR
28
Changes the SpecialEffectFactor property value
SET_CAPTION_WORDWRAP_PERC
28
Changes the CaptionWordWrapPerc property value
SET_CLICKABLE
30
Changes the Clickable property value
SET_TEXTURE_MODE
31
Changes the TextureMode property value
SET_TEXTURE_LIGHT
32
Changes the TextureLightIntensity property value
SET_TEXTURE_BEVEL_FACTOR
33
Discontinued
SET_FLAT_PILLOW_FACTOR
34
Changes the FlatPillowFactor property value
SET_SHADOW_MODE
35
Changes the ShadowMode property value
SET_COLOR_FOREGROUND_MOUSEOVER
36
Changes the ForeColorMouseOver property value
SET_TEXTURE_MIX_PERC
37
Changes the TextureColorMixPerc property value
SET_COLOR_FOREGROUND_PRESSED
38
Changes the ForeColorPressed property value
SET_PICT_VISIBLE
39
Changes the PictureVisible property value
SET_ORIENTATION
40
Changes the Orientation property value
SET_SPOTLIGHT_OFFSETX
41
Changes the SpotlightOffsetX property value
SET_SPOTLIGHT_OFFSETY
42
Changes the SpotlightOffsetY property value
SET_SPOTLIGHT_RESIZEW
43
Changes the SpotlightResizeWidth property value
SET_SPOTLIGHT_RESIZEH
44
Changes the SpotlightResizeHeight property value
SET_USEANTIALIAS
45
Changes the UseAntialiasing property value
SET_LIGHT_DIRECTION
46
Changes the LightDirection property value
SET_SPOTLIGHT_VISIBLE
47
Changes the SpotlightVisible property value
SET_SPOTLIGHT_COLOR
48
Changes the SpotlightColor property value
SET_PICT_TRANSP_FACTOR
49
Changes the PictureTranspFactor property value
SET_SHAPE_HEAD_FACTOR
50
Changes the ShapeHeadFactor property value
SET_SHAPE_LINE_FACTOR
51
Changes the ShapeLineFactor property value
SET_CAPTION_ALIGN
52
Changes the TextCaptionAlignment property value
SET_SURFACE_TRANSP_FACTOR
53
Changes the SurfaceTransparentFactor property value
SET_RECT_HARD_EDGES
54
Changes the RectHardEdges property value
SET_SWAP_EFFECTS_COLORS
55
Changes the SwapEffectsColors property value
SET_SURFACE_TRANSP_ZONE
56
Changes the SurfaceTransparentZone property value
SET_SPOTLIGHT_TYPE
57
Changes the SpotlightType property value
SET_PICTURE_REFLECT_ENABLED
58
Changes the PictureReflectivityEnabled property value
SET_PICTURE_REFLECT_PERC
59
Changes the PictureReflectivityPerc property value
SET_PICTURE_REFLECT_HEIGHT_PERC
60
Changes the PictureReflectHeightPerc property value
SET_VISTA_COLOR_GlossyEffectUpper
61
Changes the VistaColorGlossyEffectUpper property value
SET_VISTA_COLOR_GlossyEffectLower
62
Changes the VistaColorGlossyEffectLower property value
SET_VISTA_COLOR_GlossyEmphUpper
63
Changes the VistaColorGlossyEmphUpper property value
SET_VISTA_COLOR_GlossyEmphLower
64
Changes the VistaColorGlossyEmphLower property value
SET_VISTA_COLOR_GlossyEmphUpperPressed
65
Changes the VistaColorGlossyEmphUpperPressed property value
SET_VISTA_COLOR_GlossyEmphLowerPressed
66
Changes the VistaColorGlossyEmphLowerPressed property value
SET_VISTA_COLOR_BackgroundChecked
67
Changes the VistaColorBackgroundChecked property value
SET_VISTA_COLOR_BackgroundCheckedMouseOver
68
Changes the VistaColorBackgroundCheckedMouseOver property value
SET_VISTA_COLOR_GlowBack
69
Changes the VistaColorGlowBack property value
SET_VISTA_COLOR_Glow
70
Changes the VistaColorGlow property value
SET_VISTA_COLOR_GlowChecked
71
Changes the VistaColorGlowChecked property value
SET_VISTA_COLOR_GlowCheckedMouseOver
72
Changes the VistaColorGlowCheckedMouseOver property value
SET_VISTA_COLOR_OuterBorder
73
Changes the VistaColorOuterBorder property value
SET_VISTA_COLOR_MiddleBorder
74
Changes the VistaColorMiddleBorder property value
SET_VISTA_COLOR_InnerBorder
75
Changes the VistaColorInnerBorder property value
SET_VISTA_COLOR_InnerBorderPressed
76
Changes the VistaColorInnerBorderPressed property value
SET_VISTA_OPACITY_GlossyEffectUpper
77
Changes the VistaOpacityGlossyEffectUpper property value
SET_VISTA_OPACITY_GlossyEffectLower
78
Changes the VistaOpacityGlossyEffectLower property value
SET_VISTA_OPACITY_GlossyEmphUpper
79
Changes the VistaOpacityGlossyEmphUpper property value
SET_VISTA_OPACITY_GlossyEmphLower
80
Changes the VistaOpacityGlossyEmphLower property value
SET_VISTA_OPACITY_GlossyEmphUpperPressed
81
Changes the VistaOpacityGlossyEmphUpperPressed property value
SET_VISTA_OPACITY_GlossyEmphLowerPressed
82
Changes the VistaOpacityGlossyEmphLowerPressed property value
SET_VISTA_LOOK
83
Changes the VistaLook property value
SET_VISTA_GLOSSY_SHAPE
84
Changes the VistaGlossyShape property value
SET_VISTA_GLOSSY_SMOOTH_FACTOR
85
Changes the VistaGlossySmoothFactor property value
SET_OFFICE2007_COLOR_InnerBorder
86
Changes the Office2007ColorInnerBorder property value
SET_OFFICE2007_COLOR_OuterBorder
87
Changes the Office2007ColorOuterBorder property value
SET_OFFICE2007_COLOR_NorthTop
88
Changes the Office2007ColorNorthTop property value
SET_OFFICE2007_COLOR_NorthBottom
89
Changes the Office2007ColorNorthBottom property value
SET_OFFICE2007_COLOR_SouthTop
90
Changes the Office2007ColorSouthTop property value
SET_OFFICE2007_COLOR_SouthBottom
91
Changes the Office2007ColorSouthBottom property value
SET_OFFICE2007_COLOR_InnerBorderMouseOver
92
Changes the Office2007ColorInnerBorderMouseOver property value
SET_OFFICE2007_COLOR_OuterBorderMouseOver
93
Changes the Office2007ColorOuterBorderMouseOver property value
SET_OFFICE2007_COLOR_NorthTopMouseOver
94
Changes the Office2007ColorNorthTopMouseOver property value
SET_OFFICE2007_COLOR_NorthBottomMouseOver
95
Changes the Office2007ColorNorthBottomMouseOver property value
SET_OFFICE2007_COLOR_SouthTopMouseOver
96
Changes the Office2007ColorSouthTopMouseOver property value
SET_OFFICE2007_COLOR_SouthBottomMouseOver
97
Changes the Office2007ColorSouthBottomMouseOver property value
SET_OFFICE2007_COLOR_InnerBorderPressed
98
Changes the Office2007ColorInnerBorderPressed property value
SET_OFFICE2007_COLOR_OuterBorderPressed
99
Changes the Office2007ColorOuterBorderPressed property value
SET_OFFICE2007_COLOR_NorthTopPressed
100
Changes the Office2007ColorNorthTopPressed property value
SET_OFFICE2007_COLOR_NorthBottomPressed
101
Changes the Office2007ColorNorthBottomPressed property value
SET_OFFICE2007_COLOR_SouthTopPressed
102
Changes the Office2007ColorSouthTopPressed property value
SET_OFFICE2007_COLOR_SouthBottomPressed
103
Changes the Office2007ColorSouthBottomPressed property value
SET_OFFICE2003_COLOR_North
104
Changes the Office2003ColorNorth property value
SET_OFFICE2003_COLOR_South
105
Changes the Office2003ColorSouth property value
SET_OFFICE2003_COLOR_Border
106
Changes the Office2003ColorBorder property value
SET_OFFICE2003_COLOR_NorthMouseOver
107
Changes the Office2003ColorNorthMouseOver property value
SET_OFFICE2003_COLOR_SouthMouseOver
108
Changes the Office2003ColorSouthMouseOver property value
SET_OFFICE2003_COLOR_BorderMouseOver
109
Changes the Office2003ColorBorderMouseOver property value
SET_OFFICE2003_COLOR_NorthPressed
110
Changes the Office2003ColorNorthPressed property value
SET_OFFICE2003_COLOR_SouthPressed
111
Changes the Office2003ColorSouthPressed property value
SET_OFFICE2003_COLOR_BorderPressed
112
Changes the Office2003ColorBorderPressed property value
SET_VISTA_COLOR_GlowBottom
113
Changes the VistaColorGlowBottom property value
SET_VISTA_WIDTH_OuterBorder
114
Changes the VistaOuterBorderWidth property value
SET_VISTA_WIDTH_MiddleBorder
115
Changes the VistaMiddleBorderWidth property value
SET_VISTA_WIDTH_InnerBorder
116
Changes the VistaInnerBorderWidth property value
SET_OFFICE2007_WIDTH_InnerBorder
117
Changes the Office2007InnerBorderWidth property value
SET_OFFICE2007_WIDTH_OuterBorder
118
Changes the Office2007OuterBorderWidth property value
SET_OFFICE2003_WIDTH_Border
119
Changes the Office2003BorderWidth property value
newValue
New value for the chosen property.
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index