BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Pro for MFC Forums
 BCGControlBar Bugs and Problems
 CBCGTabView miss my HSCROLL bar
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

chernll

1 Posts

Posted - 03/18/2001 :  10:29:49 PM  Show Profile  Reply with Quote
I derived a view from CEditView. And I added it to a CBCGTabView-derived view. But the CEditView's horizential scroll bar never display.

Michael Kuelshammer

123 Posts

Posted - 03/19/2001 :  07:40:12 AM  Show Profile  Visit Michael Kuelshammer's Homepage  Reply with Quote
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
Go to Top of Page

Support

3662 Posts

Posted - 03/19/2001 :  11:07:35 AM  Show Profile  Visit Support's Homepage  Reply with Quote
This is a tab control bug - will be fixed in the version 5.3 (coming soon)

Best regards,

Technical Support
BCGSoft Ltd.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2017 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000