// JP opened flex table

Click to See Complete Forum and Search --> : CPropertySheet Bug ?


zywy
April 2nd, 2002, 09:03 AM
To begin I apologize for my poor English !
I to come accros on bug ?
For example:
In dialog based application i we have following fragment-

m_property.AddPage(&m_tab1);
m_property.AddPage(&m_tab2);
m_property.AddPage(&m_tab3);
m_property.AddPage(&m_tab4);
m_property.Create(this,WS_VISIBLE|WS_CHILD , WS_EX_MDICHILD|WS_EX_CLIENTEDGE );

which is invoke from BOOL CTabMainDlg::OnInitDialog() method.

Application work perfectly, but try to choose sysmenu (About Dialog) and...
When focus was in m_tab1 or m_tab2... window, application no answer.

What happened ?

zywy
April 4th, 2002, 03:59 AM
ok this problem has been resolved.
Just to place one line...

m_property.ModifyStyleEx( 0, WS_EX_CONTROLPARENT);

//JP added flex table