title: Get the text within a dialog box
body: <p>What Windows API function can I use to get text within a dialog? For example, if I had the <em>handle</em> of an error message dialog, how could I get the displayed error message?</p>