On Fri, 28 Nov 1997, Yihang Tang wrote: > Hi, > > One more question, how to get an integer from a dialog box? GetDlgItemText > won't do any good since it gets a string. > > Thanks. > > Yihang > > Get the salary(int) as a string and convert it to an int using atoi(char*). It should be in the online help