Does anybody know an API function that returns the depth of a form's title bar. (with different display settings the depth of the title bar changes).

If not is there another way to work this out.

Any help would really be appreciated.