Using MFC in C++ Part 4: Controls, DDX and DDV
(Page 1 of 9 )
In this article, Mitchell will describe how to add several controls to your dialog windows, including the edit box, group box, check box, list box and radio button. He will also describe what DDX and DDV functions are, and show you how to use them to automatically get and set the values of the controls on a dialog.You might recall part three of this ten part series, where I discussed dialog boxes. Dialog boxes are great, but without any controls on a dialog box, they’re pretty much useless. In this article, I will describe how to add several controls to your dialog windows, including the edit box, group box, check box, list box and radio button. I will also describe what DDX and DDV functions are, and show you how to use them to automatically get and set the values of the controls on a dialog.
In this article, I will concentrate on explaining new code only. A complete sample application containing all of the code described below is included as part of the support material for this article.
So, without further ado, lets jump right in and talk about controls: what they are, how we use them and what they can do for our applications.
Next: Controls explained >>
More C++ Articles
More By Mitchell Harper