|
Michael Kuelshammer
123 Posts |
Posted - 03/19/2001 : 07:40:12 AM
|
There must be a bug in CBCGTabView::AddView(), the call if (!pView->Create(NULL,_T(""), WS_CHILD|WS_VISIBLE.......) is too easy.....
if one look in MFC source ViewEdit.cpp, and then in CEditView::OnCreate, there can be seen, that the window style dwStyleDefault is much more:
const AFX_DATADEF DWORD CEditView::dwStyleDefault=AFX_WS_DEFAULT_VIEW | WS_HSCROLL | WS_VSCROLL | ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL;
Here you see WS_HSCROLL, that you are missing...
Bye, Michael Kuelshammer
Programmer from Germany Our company: SOCON GmbH |
 |
|