Constraint Combo Not Shown.. |
Post Reply |
Author | |
MLatimer
Newbie Joined: 20 June 2005 Location: United Kingdom Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 26 August 2005 at 9:13am |
When we add constraints to an item in the grid, the pull-down
combo list is not always shown. It is shown behind the main dialog!
In some cases double clicking in the edit dox with cycle to the next item in the list, but not always. The prop-grid is created... CRect rc; m_wndPlaceHolder.GetWindowRect( &rc ); ScreenToClient( &rc ); // create the property grid. if ( m_wndPropertyGrid.Create( rc, this, IDC_PROPERTY_GRID ) ) { LOGFONT lf; GetFont()->GetLogFont( &lf ); } CXTPPropertyGridItem* pStandard = m_wn dPropertyGrid.AddCategory(_T("Feature Details")); CStringList strList; thLoadStringValueList(m_sFeatureFile, sCatName + "_values", &strList); CXTPPropertyGridItemConstraints* pList = pItem->GetConstraints(); // .... Adding Items Here .... ///// pItem->SetFlags(xtpGridItemHasComboButton | xtpGridItemHasEdit); Note the list "poking out" from below the dialog, this list is the constraint list. Edited by MLatimer |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
hmmm. does dialog have "Always on Top" style? What version do you have?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
MLatimer
Newbie Joined: 20 June 2005 Location: United Kingdom Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Oleg
The dialog itself was not on top style, but the parent that called the dialog (with a DoModal) was. Im not sure how that affected it but by reseting to "wndNoTopMost" before the DoModal (and reseting after) solved the problem. What is the best way to check the version number? Regards Mark |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, it presented in XTPVersion.h file. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |