Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - CXTPDockingPane::DoPropExchange fails arbitrarily
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPDockingPane::DoPropExchange fails arbitrarily

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 865
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: CXTPDockingPane::DoPropExchange fails arbitrarily
    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.
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.125 seconds.