Yeah, Notepad was originally nothing more than a Win32 multiline textbox and two functions, one of which read the file and set the textbox value to the contents and the other took the textbox value and wrote it to the file. Every other menu option simply changed some existing property of the textbox.
barrkel|4 days ago