Here's a (ugly) workaround that will give you some values:
...
int WFrameWidth, TitleBarHeight;
void Get_WFW_TBH()
{
TopWindow w,w1;
w.SetRect(10,10,10,10);
w.OpenMain();
w1.SetRect(w.GetRect());
w1.OpenMain();
Rect rw=w.GetRect();
Rect rw1=w1.GetRect();
WFrameWidth=rw1.left-rw.left; //left-frame thickness
TitleBarHeight=rw1.top-rw.top;
w.Close();
w1.Close();
}
I use it on Linux to get retain exact positioning of topwindows between sessions.
There's a quick flash of the two windows (easily not noticed
Don't know how portable (should be OK)
(MSWindows has built-in functions to get those values, I think, but the code should work even there)