Print Page | Close Window

Crash in CXTPSkinObjectFrame::TrackCaptionButton

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=24489
Printed Date: 03 December 2024 at 12:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash in CXTPSkinObjectFrame::TrackCaptionButton
Posted By: Greg Pryor
Subject: Crash in CXTPSkinObjectFrame::TrackCaptionButton
Date Posted: 19 July 2024 at 10:20am
If a window is destroyed while the close button is being held down (could be from a timer, could be from right clicking on the X button while holding the left mouse button down) then CXTPSkinObjectFrame::TrackCaptionButton will call RedrawFrame and RedrawFrame will throw an uncaught CResourceException when it tries to construct a CWindowDC with an invalid window handle



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