This routine returns the pixel WIDTH and DEPTH of a given character string STR
when drawn on the control that has the handle HWND. Use this for example with the handle for %`cw
or with %lc - Handle of Last Control. Trailing spaces will be
included so either use a substring notation or terminate the significant
characters by CHAR(0).
If the routine fails then the width and height are returned as zero.