TestEgr 1.5c2 :
- visualizzazione nome e info negli alberi degli oggetti - gestione apertura file all'inizio conseguente a doppio click in shell.
This commit is contained in:
+6
-1
@@ -90,7 +90,12 @@ CTestEGrDlg::InsertGroupOnTree( int nId, HTREEITEM hParent)
|
||||
if ( nId == GDB_ID_ROOT)
|
||||
hGroup = hParent ;
|
||||
else {
|
||||
string sGroup = "Group " + ToString( nId) ;
|
||||
string sGroup ;
|
||||
string sName ;
|
||||
if ( m_pGeomDB->GetName( nId, sName))
|
||||
sGroup += sName + " (Group " + ToString( nId) +")" ;
|
||||
else
|
||||
sGroup = "Group " + ToString( nId) ;
|
||||
hGroup = m_Tree.InsertItem( stringtoW( sGroup), ICO_GROUP, ICO_GROUP, hParent) ;
|
||||
if ( hGroup == nullptr || m_Tree.SetItemData( hGroup, nId) == 0)
|
||||
return false ;
|
||||
|
||||
Reference in New Issue
Block a user