I have a MFC app with a dialog with two edit controls which both have variables, eg. VariableA and VariableB. I want to initialize VariableA as value of 80, so when the dialog box displays the edit control it shows 80, but if the user changes variableB it must then automatically change VariableA = (100 - VariableB).
I hope this makes sense.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)