If a public message function is used to process a dynamically generated set of edit controls, how can I tell which edit control I am dealing with to get the input text value?
Take this edit-> Name
such as
for (int i = 0; i <this-> ControlCount; i ++)
{
if (dynamic_cast <TEdit *> (this-> Controls [i])-> Name == "Name")
{;
}
}