When we added a menu to POPPAD in Chapter 9, several menu options were left unimplemented. We are now almost ready to add logic to POPPAD to open files, read them in, and save the edited files to disk.
Working with files in Windows is no great joy. Although the standard dialog box template to open a file is fairly simple, the dialog box procedure itself is one of the most difficult you'll encounter. Before tackling that function, let's investigate methods of file I/O in Windows programs.