How can I recieve the Ints in editboxes int the dialog procedure? i tried using GetDlgItemInt and I didnt get any errors. I then decided to try a watch of the variable its being stored in and it came up and un defined, not un Initiated but undefined. Which i interperted as its not recieving the data from thye edit boxes correctly. Any suggestion?