my app consists of a single dialog, the dialog contains a number of edit boxes.Each time a edit box is clicked i would like to obtain its resource id. I am not quite sure how to acheive this i know it involves use of GetDlgCtrlID
I have tried this but "hold" always seems to take the value zero.
void MyDialog::OnSetfocusEdit1()
{
// TODO: Add your control notification handler code here
int hold = this->GetDlgCtrlID();
}
grateful of any help martin
I have tried this but "hold" always seems to take the value zero.
void MyDialog::OnSetfocusEdit1()
{
// TODO: Add your control notification handler code here
int hold = this->GetDlgCtrlID();
}
grateful of any help martin