Hello to all. This is a simple question. I'm creating a dialog box in MFC. I need 6 different edit control in the dialog, one of which needs validation. The validation is the same for all: the provided input must be a positive number between 0 and 20. Which one you think is best practice:
a) 6 instances of the edit control class dynamic created and attached to the dialog?
b) drag 6 edit controls from the toolbox?
c) May be something else?
In the case of a) how can achieve that? Is a good idea to create an array of edit controls?
Thanks in advance.