i have this code that put the value of a textbox field in the variable. The textbox is a Ip Address Control. How can i check if when the user press the OK button the field is empty or not? Thank you
char *myVar = new char[16];
*myVar = NULL;
GetDlgItemTextA(hDlg, IDC_MYVAR, myVar, 16);
delete [] myVar;
You probably have to use the
IPM_ISBLANKmessage (i am not an expert on winapi, so i may be mistaken).