How to enter and get a value in a messagebox ?

 
How can I open a box, ask a value, and get this value in a variable ?
thanks !
 
You need to write your own dll with such function