Print Page | Close Window

ASSERT in XTPDockState

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=10748
Printed Date: 08 July 2024 at 12:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ASSERT in XTPDockState
Posted By: JerryEvans
Subject: ASSERT in XTPDockState
Date Posted: 22 May 2008 at 12:53pm
An assertion is being tripped but there's no suggestion why

In xtpdockstate.cpp

CXTPCommandBar::GenerateCommandBarList


else ASSERT(m_nBarID != 0); // line 1295 in my 12.0 code

Why would the ID be zero?

Thx





Replies:
Posted By: Oleg
Date Posted: 22 May 2008 at 2:08pm
Hi,
 
Call pToolBar->SetBarID(id) to assign some Id.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net