DockingPane is not correct |
Post Reply |
Author | |
zjroland
Groupie Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
Posted: 14 January 2007 at 10:22am |
I have a DockingPane, it's a CXTResizeFormView(resource is a dialog),when it slide out ,it look like:
below is the code:
IMPLEMENT_DYNCREATE(CPaneSearch, CXTResizeFormView)CPaneSearch::CPaneSearch()
: CXTResizeFormView(CPaneSearch::IDD) { m_bInitialized = FALSE; } CPaneSearch::~CPaneSearch()
{ } void CPaneSearch::DoDataExchange(CDataExchange* pDX)
END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// #ifdef _DEBUG void CPaneSearch::Dump(CDumpContext& dc) const
void CPaneSearch::OnInitialUpdate() SetScaleToFitSize(CSize(1, 1)); //SetResize(IDC_BUTTON_REPLACEALL, SZ_TOP_RIGHT, SZ_TOP_RIGHT); BOOL CPaneSearch::PreCreateWindow(CREATESTRUCT& cs) return CXTResizeFormView::PreCreateWindow(cs);
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Problem in Group boxes. try to subclass them to CXTResizeGroupBox:
...
m_groupSort.SubclassDlgItem(IDC_GBOX_SORT, this);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zjroland
Groupie Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
It's OK now, Thank you Oleg !!!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |