Re: CMPT 212 Assignment 4

Leon Chui-Hor Chow (lcchow@sfu.ca)
Fri, 28 Nov 1997 15:18:03 -0800 (PST)


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