Capture text by selection on win32