Millicolumns

Most controls support "millicolumns". When the starting column or ending column coordinate of a control (created by AUI_CONTROL, AG_CONTROL, INFLD, etc.) is greater than 200, it is assumed to be in units of "millicolumns" (1000 per standard column) rather than standard columns. This allows the horizontal position and size of a control to be more finely adjusted than was previously possible.

To convert a starting column coordinate to millicolumns, simply multiply by 1000. (Then add or subtract as needed to make your fine adjustments.)

To convert an ending column coordinate to millicolumns, first add 1, then multiply the total by 1000.

For example, the millicolumn equivalent of scol=5, ecol=9 is scol=5000, ecol=10000. (A coordinate whose starting and ending column is the same will be effectively one column wide when using standard column coordinates, but only one millicolumn wide when using millicolumn coordinates, hence the need for adding 1000 to the ending coordinate during the conversion.)

In the case of INFLD, which uses a maximum width (XMAX) rather than ending column coordinate, you can still specify XMAX in millicolumns, but the threshold is 1000 rather than 200. (That is, any XMAX value less than 1000 will be considered as a number of standard columns.)