![]() |
ASSERT after inplace edit finish |
Post Reply ![]() |
Author | |
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() Posted: 02 June 2017 at 5:47am |
HI;
I'm using the report control inside a modal dialog box. Whenever i finish editing (by pressing return or escape or ...) I get an ASSERT in CWnd::AssertValid() (line 902 in wincore.cpp).
And here is the call stack: ![]() How can I avoid this assert? |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
astoyan ![]() Admin Group ![]() ![]() Joined: 24 August 2013 Status: Offline Points: 316 |
![]() ![]() ![]() ![]() ![]() |
Hello,
There is almost no indication that the assertion is caused by any of XTP classes as the only evidence of Codejock components being involved is the presence of CXTPDialogBase::OnWndMsg call on your stack. But that's not enough for fixing or reproducing that bug. You also haven't mentioned the version of the Toolkit you have issue with. Have you had a chance to test the same or similar functionality the closest available options? If not please try that first, then submit as much as possible information or try to make a simple sample. Regards, Alexander |
|
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() |
It's always happening when the edit control is loosing focus.
I will try to create a sample based on your report samples. In my case a modeless dialog calls a modal dialog . The assert happens because the AssertValid is called for the Inplace Edit control and this window no longer exists. |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
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 |