EM_REPLACESTR not respecting EM_SETLIMITTEXT