Hi all,I have made an edit box(say Device ID is to be entered) and I am trying to retrieve its value in an integer variable id. But the last argument in GetDlgItemText function poses a problem which asks for the number of characters of the string to be read into the variable. What should I specify here.. i am getting weird ID's due to this..
Code:
GetDlgItemText(childHwnd,ID_EDIT1,&var[i].id,?);
var[i].id is the variable in which value is to be retrieved.. What should I specify as last argument?
Any suggestions will be appreciated!