Print Page | Close Window

A bug in CXTPDockingPane::AttachView

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=10791
Printed Date: 05 May 2024 at 4:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: A bug in CXTPDockingPane::AttachView
Posted By: tmolander
Subject: A bug in CXTPDockingPane::AttachView
Date Posted: 27 May 2008 at 4:36am

In CXTPDockingPane::AttachView function a return value of CFrameWnd::Create call is not checked.

If creation of the frame window or its view fails for some reason AttachView tries to call ModifyStyleEx, Attach and GetDescendantWindow functions for a window that does not exist which results in asserts.
 



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