This function is useful for converting a numerical input field into a binary number for further processing. The text of a dialog item is assumed to be an ASCII string.
This function is valid for any window with children. However, it is typically used for dialog items in a dialog window.