int getCtlPos(int index, int type)
The horizontal/vertical coordinates or the width/height of the control, depending on the value of the type parameter.
Gets the co-ordinate position of the control or the width/height of the control, depending on the value of the type parameter. Don't forget that all measurements are set in DBUs (dialog box units). You can use the HDBUsToPixels function to convert this value to a pixel value if necessary.
w = getCtlPos(10, 2); // returns the width of user control 10
getCtlColor, getCtlVal, HDBUsToPixels, setCtlPos
Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.