Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Offer Har
|
Mar 21, 2008 - 9:18 AM
|
Dear Support, I get assent in the tree control in this place:
void CExtTreeGridCellNode::TreeNodeHiddenSet(
CExtTreeGridDataProvider & _DP,
bool bHide
)
{
ASSERT_VALID( this );
ASSERT_VALID( (&_DP) );
ASSERT_KINDOF( CExtTreeGridDataProvider, (&_DP) );
bool bHidden = TreeNodeHiddenGet();
if( ( bHidden && bHide ) || ( (!bHidden) && (!bHide) ) )
return;
if( bHide )
{
if( TreeNodeIsDisplayed() )
{
ULONG nOffset = TreeNodeCalcOffset( true, false );
if( nOffset != ULONG(-1L) )
{
ASSERT( _DP.m_arrGridVis[ nOffset ] == this ); <=== HERE
Sometimes I get this assert, and sometimes not.
Can you please explain why this happens? If I ignore the assert, the whole structure of the tree is messed up...
Thanks, Ron.
|
|
Technical Support
|
Mar 22, 2008 - 3:05 PM
|
We need a test project or at least a test function which generates this assertion.
|
|