I'm not using a dialog but you said that it would work to communicate between a button and an edit box, so how would i use the getdlgitemint and the setdlgitemint if the edit box i'm using id is ID_EDBOX number id is 108, my handle is ebox, i need to multiply a numerical value from the edit box and return it to the same box, i'm using borland so anyone got an idea on it?