so I have this code which basically finds any "-" except in first place and adds endstring there, this works fine however when I use WM_SETTEXT it will place that thingy that shows u where u re typing (I have no idea how's it called lol :P) to the start, how do I set it to the end? example how it looks like in editcontrol after finding another "-":