Copyright © 2002-2005 MultiMedia Soft 
Return to index  
 
abmContainerSetting function 
 
Remarks
Available only with Professional Version. 
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
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 (29)
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
newValue
New value for the chosen property.
 
 
 
 
 
 
 
Copyright © 2002-2005 MultiMedia Soft 
Return to index