Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » void CExtPropertyGridCtrl::PropertyStoreSynchronize() Collapse All
Subject Author Date
Krister Goodh Apr 28, 2010 - 7:26 AM

Hello!


I previously asked for you too look into void CExtPropertyGridCtrl::PropertyStoreSynchronize(). The code seems to look the same in profuis289(2010-04-22).




The test  _ActiveDP == pDP fails to test true. That’s why I experimentally replaced the test by the test  _ActiveDP = pDP->m_pOuterDataProvider.




Could you please verify that this is correct? (See the thread Forums » Prof-UIS Tech Support » CExtPropertyGridCtrl assert when removing item that is edited  for details).


/J


 

Technical Support May 5, 2010 - 1:55 AM

We are sorry for the delay with this reply. Yes, you are right. The correct comparison is ( LPVOID(&_ActiveDP) == LPVOID(pDP->m_pOuterDataProvider) ).