My goal is to display a dollar amount in a static text box using the SetWindowText function. Unless there is a better function to use. My amount field is defined as a double but the SetWindowText only excepts char's or stings. I am looking for the correct conversion method for a double to a string for C++. I also need to show the decimal and dollar sign in the amount field.
Is there a different SetWindow function that excepts doubles?