openframeworks/openFrameworks — pull request #1320 by arturoc (2012-06-09 18:39:56+00:00)
Title: feature: text box dialog

shows a dialog with a text box, the call can provide a default text to show and after the user presses ok the function returns the entered text.
if the user presses cancel the function returns the provided default text

the windows code is kind of complex but it's the best way i found to make a modal dialog that is not an alert.