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 » Dialog data exchange Collapse All
Subject Author Date
Thomas Zaenker Sep 27, 2005 - 10:28 AM

Dear support team,


 


I have a problem with data exchange feature of CDialog and derived classes. If I first add a value connection to let’s say a checkbox and then a control connection with CExtCheckBox to the same control then my initial value (bool) is cleared (always false). If I swap the lines so that first the control and then the value DDX appears everything works fine. Is there a reason for this behavior?


 


Best regards.


 


Axel

Technical Support Sep 27, 2005 - 11:35 AM

Thank you for the bug report. Please add the following line at the end of the CExtButton::PreSubclassWindow() method:

m_nCheck = GetCheck();
After that all should work fine. This bug fix will be also available in the next release.