I'm writing an MFC application and I need help with the GUI. So basically, I have some values that are stored as defaults to the registry and whenever the program is run/"Reset Defaults" button is clicked, all values revert to their defaults. I have been able to do this successfully for the dialog that the Reset Defaults button is in.
However, there are values in another dialog that I also want refreshed when I click the button. I have been able to store the default values in the registry and even retrieve them when the program run and when the Reset Defaults button is clicked using static variables. Unfortunately, I have only been able to reflect any changes to the dialog upon runtime in the dialog itself, but not when Reset Defaults is hit.
Is there some way that I can refresh the other dialog from the dialog that Reset Defaults is in so the different values are represented? Is there a better way to do this that I'm not seeing? Thanks.