Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
ScaleUnit property (Cells) 
Remarks
The unit used to determine position and size of the cell. 
Further information about cells management can be found inside the How to manage cells section.
Get / Set functions
 
short abmCellsGetScaleUnit
HWND hWndBtn
short nUniqueID 
); 
 
BOOL abmCellsSetScaleUnit
HWND hWndBtn
short nUniqueID
short nUnit 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nUniqueID
Numerical value representing the cell's unique identifier.
nUnit
Specifies the cell's scale unit. Supported values are the following: 
Mnemonic constant
Value
Meaning
CELL_SCALE_UNIT_PERCENTAGE
0 (default)
The scale unit is represented by a percentage value of a specific control's dimension (left position, top position, width or height).
CELL_SCALE_UNIT_PIXELS
1
The scale unit is in pixels.
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index