You're in luck, I think.
Originally Posted by Magos
A little program I started last week required the use of tabs and some controls "inside" their pages. Initially I placed an edit control within the confines of the page (excluding tabs and frame) using the following:-
I hope that's what you wanted.
rc.left = rc.top = 0;
rc.right = LOWORD(lParam); // client width (This is from a WM_SIZE message)
rc.bottom = HIWORD(lParam); // client height
SendMessage(g_hwndTab, TCM_ADJUSTRECT, FALSE, (LPARAM)&rc); // tab control corrects