I load a dialog from resource onto a WTL tab control. My dialog is:
IDD_STACKERSTATUS DIALOGEX 0, 0, 589, 442
STYLE DS_SETFONT | WS_CHILD | WS_VISIBLE
EXSTYLE WS_EX_CLIENTEDGE
Loading of the dialog onto a tab I use:
m_tabView.Create(m_tPane.m_hWnd, rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, WS_EX_CLIENTEDGE);
/// Create <n> dialog based windows to use as tabbed views
m_StackerStatusDlg.Create(m_tabView.m_hWnd,rcDefault, NULL);
/// Add the dialog based windows to the tab controls list (seems like a map with name/window pairs)
m_tabView.AddPage(m_StackerStatusDlg.m_hWnd, _T("Stacker Drive"));
Hope this is of some help.