Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - A bug in CXTPDockingPane::AttachView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

A bug in CXTPDockingPane::AttachView

 Post Reply Post Reply
Author
Message
tmolander View Drop Down
Newbie
Newbie


Joined: 11 April 2006
Location: Finland
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tmolander Quote  Post ReplyReply Direct Link To This Post Topic: A bug in CXTPDockingPane::AttachView
    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.
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.