Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
LightDirection property 
 
Remarks
The direction from which the light impacts the control.
Get / Set functions
 
BOOL abmGetLightDirection
HWND hWndBtn 
); 
 
void abmSetLightDirection
HWND hWndBtn
short nLightDirection 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nLightDirection
Specifies the light direction value. Supported values are the following: 
 
Mnemonic constant
Value
Meaning
LIGHT_DIR_NW
0 (default)
Light coming from North-West: this is the standard default for the Windows operating system. 
LIGHT_DIR_NORTH
1
Light coming from North 
LIGHT_DIR_NE
2
Light coming from North-East 
LIGHT_DIR_EAST
3
Light coming from East 
LIGHT_DIR_SE
4
Light coming from South-East 
LIGHT_DIR_SOUTH
5
Light coming from South 
LIGHT_DIR_SW
6
Light coming from South-West 
LIGHT_DIR_WEST
7
Light coming from West 
LIGHT_DIR_ABOVE
8
Light coming from above 
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_LIGHT_DIRECTION
newValue
Same meaning of the nLightDirection parameter described before
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index