Print Page | Close Window

CXTPDockingPane::DoPropExchange fails arbitrarily

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=20201
Printed Date: 28 April 2024 at 5:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPDockingPane::DoPropExchange fails arbitrarily
Posted By: rdhd
Subject: CXTPDockingPane::DoPropExchange fails arbitrarily
Date Posted: 04 October 2012 at 11:04am

CXTPDockingPane::DoPropExchange successfully reads my docking pane information from the registry and then returns FALSE because it checkes to see if m_nID > 0.

Why does a pane ID need to be positive? I have to create panes on demand for COM objects and I want to use the short guid of the COM object as the pane identifier.
 
There is no objection when I call SetID. The only test there is for the pane ID to be non-zero.
 
Hence I believe DoPropExchange has a bug. The routine should do this:
 
return m_nID != 0;
 
Please fix this asap.



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