There is, as far as I can tell, absolutely no excuse for using Update Data in a modal dialog.
I discuss this in much more detail in another essay.
To avoid the use of Get Dlg Item, you must create a control variable to represent your control.You can create a control variable for any control that has an ID other than IDC_STATIC. For some controls, you can only have a Control variable, and that is the only option.My view is, if you are writing more than one Get Dlg Item per year, you are probably not using C++/MFC correctly.Fortunately, there is a better, more elegant, and safer way to get access to controls using MFC.
When you learned to program Windows in C, you learned about Get Dlg Item.
This is the way to get a handle for a control when you are working with a dialog.